Re: IIS Brain Dead

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18537
interpreted = N
texte = Yeah, but this does not protect individual files. Can either platform do this? I want to prevent users from gaining access via direct manipulation, iehttp://www.thedomain.com/protected/images/yourimage.jpgI know you can do this with realms and with certain cgi's and .htaccess on unix. But what about webcat on mac and nt?-----Original Message----- From: Peter Ostry To: WebDNA-Talk@smithmicro.com Date: Monday, June 29, 1998 2:58 PM Subject: Re: IIS Brain Dead >At 23:20 Uhr 26.06.1998, bob wrote: >>Can I have a realm in website pro that is regulated by a webcat database? >>I want to protect the contents of a folder and not just the pages and I >>would like this protected with webcat. > >You can work without server realms and have WebCat control the access. >The tag [ThisURL] returns the path of the current page starting from root, >for example >/products/pricelist/index.tpl >and you want to protect the whole folder pricelist: > >You need a database which holds usernames, passwords, folders they have >access to and preferably a user-id. >Any time a page gets loaded, parse [ThisURL] and do a database lookup to >find out if the current user has access to this directory - by checking >[ThisURL] with [GetChars...] or just ask wether the URL contains >pricelist - if this is enough. > >For login and access control you have two choices: >1. use the authenticate routine and ask the browser for the username each >time a page gets displayed, or >2. use a form for login and carry the stored user-ID through all actions. >Use includes for this code! > >Peter > >__________________________________________ >Peter Ostry - po@ostry.com - www.ostry.com >Ostry & Partner - Ostry Internet Solutions >Auhofstrasse 29 A-1130 Vienna Austria >fon ++43-1-8777454 fax ++43-1-8777454-21 > Associated Messages, from the most recent to the oldest:

    
  1. Protecting Realms (was: IIS Brain Dead) (Terry Wilson 1998)
  2. Re: IIS Brain Dead (PCS Technical Support 1998)
  3. Re: IIS Brain Dead (Bob Minor 1998)
  4. Re: IIS Brain Dead (Peter Ostry 1998)
  5. Re: IIS Brain Dead (PCS Technical Support 1998)
  6. IIS Brain Dead (bob 1998)
Yeah, but this does not protect individual files. Can either platform do this? I want to prevent users from gaining access via direct manipulation, iehttp://www.thedomain.com/protected/images/yourimage.jpgI know you can do this with realms and with certain cgi's and .htaccess on unix. But what about webcat on mac and nt?-----Original Message----- From: Peter Ostry To: WebDNA-Talk@smithmicro.com Date: Monday, June 29, 1998 2:58 PM Subject: Re: IIS Brain Dead >At 23:20 Uhr 26.06.1998, bob wrote: >>Can I have a realm in website pro that is regulated by a webcat database? >>I want to protect the contents of a folder and not just the pages and I >>would like this protected with webcat. > >You can work without server realms and have WebCat control the access. >The tag [thisurl] returns the path of the current page starting from root, >for example >/products/pricelist/index.tpl >and you want to protect the whole folder pricelist: > >You need a database which holds usernames, passwords, folders they have >access to and preferably a user-id. >Any time a page gets loaded, parse [thisurl] and do a database lookup to >find out if the current user has access to this directory - by checking >[thisurl] with [GetChars...] or just ask wether the URL contains >pricelist - if this is enough. > >For login and access control you have two choices: >1. use the authenticate routine and ask the browser for the username each >time a page gets displayed, or >2. use a form for login and carry the stored user-ID through all actions. >Use includes for this code! > >Peter > >__________________________________________ >Peter Ostry - po@ostry.com - www.ostry.com >Ostry & Partner - Ostry Internet Solutions >Auhofstrasse 29 A-1130 Vienna Austria >fon ++43-1-8777454 fax ++43-1-8777454-21 > Bob Minor

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:

HomePage Caution (1997) Permission denied? (2004) Append File help needed (2000) Credit Card processing (1998) Word-And searches (2000) Database Field Additions (2000) Silly Question (1997) select multiple 2 more cents (1997) [SHOWIF] (1997) unable to launch acgi in WebCat (1997) Multiple prices (1997) international time (1997) authenticating a second user (1997) RE: new cart IDs being assigned somehow (1997) Multiple Newcarts (1996) Database Sizes (2000) Retaining data (2003) WebCat2b13MacPlugIn - More limits on [include] (1997) Merging databases (1997) Multiple catalog databases and showcart (1997)