Click here to Skip to main content
15,887,361 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
When a new user is logged in the database is created its own folder to put your files but the problem I'm working on how to prevent another one from entering your own folder
Posted
Comments
Garth J Lancaster 2-Nov-14 16:51pm    
I think you might need to explain a bit more - is the folder on the filesystem or in the database ? - if it was on the filesystem, surely you'd set ACL's for each user - if its something you're doing in the DB, then, you'd need to compare the entered folder with the currently logged on user and deny access if the entered folder didn't contain [this] user - presumably the folders are all a common stem, with the users logon/name in them
Member 10911782 2-Nov-14 19:48pm    
Folders that do not arise from a separate database, I want to this folder will be protected not only confined to the owner, how so?
Member 10911782 2-Nov-14 20:29pm    
sa _ i'm so sory Was an inadvertent error :-(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900