Re: Correct Owners & Permissions?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35285
interpreted = N
texte = chown -R nobody:nobody chmod -R 660That should do it for you. The first does a recursive search and makes the owner and group be nobody. The second recursively sets all files rights to -rw--rw------ (owner and group have read-write, no one else has any rights). Don't do this in the WebCatalogEngine directory, of course, because there are files there that need execute set.I recently started moving all of my Orders directories into Globals, rather than leaving it with each site. This way, since the cgi-bin directories cannot be browsed, there is no possible way that any user can get into those directories except through my mediated scripts.Note that if you are using 4.x, I discovered that for some reason, it does not seem possible to change the Orders directory entry within the management pages any longer. You can always change the Prefs file with an editor.John PeacockPhil Marshall wrote: > > What are the correct (preferred) owner and permission for the ShoppingCarts > and Orders folders. The sites work fine now; I'm more concerned about > having appropriate security. A Browser seems to refuse any access to the > files, but, still, I'd like to set them exactly correct. > > Phil Marshall > -- > Signal Advertising > 58 E State Street > Montpelier, VT 05602 > 802-229-4149 > phil@signalz.com > http://www.signalz.com > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Correct Owners & Permissions? (John Peacock 2000)
  2. Correct Owners & Permissions? (Phil Marshall 2000)
chown -R nobody:nobody chmod -R 660That should do it for you. The first does a recursive search and makes the owner and group be nobody. The second recursively sets all files rights to -rw--rw------ (owner and group have read-write, no one else has any rights). Don't do this in the WebCatalogEngine directory, of course, because there are files there that need execute set.I recently started moving all of my Orders directories into Globals, rather than leaving it with each site. This way, since the cgi-bin directories cannot be browsed, there is no possible way that any user can get into those directories except through my mediated scripts.Note that if you are using 4.x, I discovered that for some reason, it does not seem possible to change the Orders directory entry within the management pages any longer. You can always change the Prefs file with an editor.John PeacockPhil Marshall wrote: > > What are the correct (preferred) owner and permission for the ShoppingCarts > and Orders folders. The sites work fine now; I'm more concerned about > having appropriate security. A Browser seems to refuse any access to the > files, but, still, I'd like to set them exactly correct. > > Phil Marshall > -- > Signal Advertising > 58 E State Street > Montpelier, VT 05602 > 802-229-4149 > phil@signalz.com > http://www.signalz.com > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebMerchant (1997) WebCatalog for Postcards ? (1997) [WebDNA] Simple Date Format Conversion (2008) [OT] SubserviantChicken.com (2004) Playin Tricks (2006) IIS4 & Password Authentication, request example (1998) Problem: 3.0 doesn't update carts (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Founditems (1998) iis 4.0 (1997) Test (2003) Email troubles (2005) Setting up shop (1997) duplicating cart items (1998) Discounting prices across a site (1997) Spiders and Bots (2000) How true is this? (1999) Variables from a long text string (2000) Post arguments problem mac? (1997) Using Cookie for client specific info? (1997)