This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

restricting access

 
Joseph Sweet
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an app that lets people register as members. When one opens an account, a new subdirectory in the app directory is being opened.

somthing like myapp/user_01, myapp/user_02, myapp/user_03....

My question is how do I prevent from user 01 accessing the files of user 02, by browsing to a place like: ../user_02/resume.doc

But I want to let him access files that are outside of the user directories, like login.jsp...

Thank you for your help
 
Joseph Sweet
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hummmm

nobody knows?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!