![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) |
| Civilians | In: <8WVle.1257$s64.567@newsread1.news.pas.earthlink.n et>, "jon" <jon@no_more-spam.invalid> wrote: >Hello, >I would like to try to protected a directory on my website and would like to >know what are some of the best ways to do this. >Thank you On a UNIX platform you could install a dog device: mknod dog c|b <major> <minor> Where major and minor are the device numbers that correspond to the dog device. c or b are block or character devices. (If your dog has a lot of character you'd use 'c' but if it's a block shaped dog, use a b.) dog is an arbitrary name, but should follow conventions. IMPORTANT: After you have installed your dog, you MUST ensure it doesn't get out of the directory and chase after other peoples files. To do this, a variety of strategies are used, but the easiest is simply to link it to the directory you are trying to protect, to do this, you would use the 'ln' command. ln dog anchor A well trained dog doesn't actually need a hard link, as for such a dog, the chain is only symbolic, for a symbolic link, you would use the -s option. ln -s dog anchor You could also protect your directory with a daemon, but this isn't recommended practice. Jamie -- http://www.geniegate.com Custom web programming guhzo_42@lnubb.pbz (rot13) User Management Solutions |
|
| | #3 (permalink) |
| Civilians | nospam wrote: > After you have installed your dog, you MUST ensure it doesn't get > out of the directory and chase after other peoples files. > > ln dog anchor Or just use chroot. -- Toby A Inkster BSc (Hons) ARCS Contact Me ~ http://tobyinkster.co.uk/contact |
|
| | #4 (permalink) |
| Civilians | On 28 May 2005 12:42:31 GMT, nospam@geniegate.com wrote: >IMPORTANT: > >After you have installed your dog, you MUST ensure it doesn't get >out of the directory and chase after other peoples files. But watch out if you try to cat anything - all bets are off then ;-P MGW |
|
| | #5 (permalink) |
| Civilians | On Sat, 28 May 2005 08:25:40 GMT, jon wrote: > Hello, > I would like to try to protected a directory on my website and would like to > know what are some of the best ways to do this. > Thank you Specify what web server you're on. The solution depends on it. Karim -- http://www.cheapesthosting.com - Innovative Web Hosting since 1998 Spam and Virus protected email - Online calendars with email notification Camera phone photos automatic transfers to your photo album (RSS Enabled |
|
| | #7 (permalink) |
| Civilians | "Karim" <karim3411@yahoo.com> wrote in message news:jryd33hkkrev.18xta451mnhyl$.dlg@40tude.net... > On Sat, 28 May 2005 08:25:40 GMT, jon wrote: > Specify what web server you're on. The solution depends on it. > > > Karim > -- > http://www.cheapesthosting.com - Innovative Web Hosting since 1998 > Spam and Virus protected email - Online calendars with email notification > Camera phone photos automatic transfers to your photo album (RSS Enabled Hello, Opps my mistake I am currently using cpanel 9.9.9-STABLE 15 on linux version 2.4.21-32.0.1.EL |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IIS Directory Listing | Dylan Parry | Web Design | 1 | 10-12-2005 02:03 |
| linking to a directory. | Stan Blazejewski | Web Design | 3 | 06-09-2005 04:00 |
| Directory Assistance | Snowden | Humor | 2 | 03-21-2005 09:43 |
| macro to move from directory to directory | davegb | Microsoft Applications | 19 | 02-06-2005 20:00 |
| MS LDAP Directory? | Hamish McStill | Microsoft Applications | 3 | 07-23-2004 16:37 |
![]() | ![]() | ![]() |