Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mark folders as unmovable

Status
Not open for further replies.

foxbldr

Programmer
Apr 16, 2002
109
CA
Hi,

Can somebody tell how to make folders 'unmovable' so that clients (Win 98, Xp) cannot move folders by using Windows explorer or DOS. Client should have the rights to read/write access to the folder.



Thanks

Foxbldr
 
Give clients list access to the folder and read/write access to the contents. Remember to enable DENY on the delete access - which is what a move basically is. That is about as close as you're going to get. If you give your clients write access they will be able to copy the contents.

floyd@dixieadvantage.com
 
Hi

I did put a file into each of the directories where users have write, create, etc. access. A hidden file called
something like 0000000move.txt, flag it COPY INHIBIT, DELETE INHIBIT and RENAME INHIBIT. Because of the zero's in the filename, the file will be touched first, then an error is displayed at the beginning of the move process and prevents the data from being moved. The only drawback is, that the target folder gets created anyway.

Regards,
Alain


regards,
Alain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top