Re: [WebDNA] Permissions on DB files

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108110
interpreted = N
texte = --20cf305640cf79821e04b6ade100 Content-Type: text/plain; charset=ISO-8859-1 What chris said. Govinda's suggestion only blocks those from being processed by WebDNA, not from being returned by the web server. This is not a permissions issue because the web server will presumably need to access the dbs because WebCatalog is started by the user that is the same as the same web server. Bill On Mon, Jan 16, 2012 at 6:19 PM, wrote: > You can also add these lines in your httpd.conf (maybe it will also work > from an .htaccess) > > > #----------------------- > > Deny from all > > #----------------------- > > - chris > > > On Jan 16, 2012, at 21:02, Brian Wachter wrote: > > > Say I have a WebDNA database called "customers.db". What is the best way > to protect this file from someone just typing the path to the file in their > browser and having the raw data appear in the browser? With regard to User, > Group and Everyone permissions, I presume that the permissions on this file > should be "none" for "Everyone", but what should the Group permissions be > set to so that WebDNA can access the file? > > > > I'm running WebDNA 6 on OS X 10.6. > > > > Thanks, > > Brian Wachter > > Stoneport LLC > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives:http://mail.webdna.us/list/talk@webdna.usBug Reporting: > support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --20cf305640cf79821e04b6ade100 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What chris said. =A0Govinda's suggestion only blocks those from being p= rocessed by WebDNA, not from being returned by the web server. =A0This is n= ot a permissions issue because the web server will presumably need to acces= s the dbs because WebCatalog is started by the user that is the same as the= same web server. =A0

Bill

On Mon, Jan 16, 2012 = at 6:19 PM, <christophe.billiottet@webdna.us> wrote:
You can also add these lines in your httpd.conf (maybe it will also work fr= om an .htaccess)


#-----------------------
<FilesMatch =A0".*\.(db|inc|conf|ini)$">
Deny from all
</FilesMatch>
#-----------------------

- chris


On Jan 16, 2012, at 21:02, Brian Wachter wrote:

> Say I have a WebDNA database called "customers.db". What is = the best way to protect this file from someone just typing the path to the = file in their browser and having the raw data appear in the browser? With r= egard to User, Group and Everyone permissions, I presume that the permissio= ns on this file should be "none" for "Everyone", but wh= at should the Group permissions be set to so that WebDNA can access the fil= e?
>
> I'm running WebDNA 6 on OS X 10.6.
>
> Thanks,
> Brian Wachter
> Stoneport LLC
> --------------------------------------------------------- This message= is sent to you because you are subscribed to the mailing list . To unsubsc= ribe, E-mail to: archives:http://mail.webdna.us/list/talk@webdna.us Bug Re= porting: support@webdna.us

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@web= dna.us>.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>

--20cf305640cf79821e04b6ade100-- Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] Permissions on DB files (Brian Wachter 2012)
  2. Re: [WebDNA] Permissions on DB files (Govinda 2012)
  3. Re: [WebDNA] Permissions on DB files (William DeVaul 2012)
  4. Re: [WebDNA] Permissions on DB files (christophe.billiottet@webdna.us 2012)
  5. Re: [WebDNA] Permissions on DB files (Govinda 2012)
  6. [WebDNA] Permissions on DB files (Brian Wachter 2012)
--20cf305640cf79821e04b6ade100 Content-Type: text/plain; charset=ISO-8859-1 What chris said. Govinda's suggestion only blocks those from being processed by WebDNA, not from being returned by the web server. This is not a permissions issue because the web server will presumably need to access the dbs because WebCatalog is started by the user that is the same as the same web server. Bill On Mon, Jan 16, 2012 at 6:19 PM, wrote: > You can also add these lines in your httpd.conf (maybe it will also work > from an .htaccess) > > > #----------------------- > > Deny from all > > #----------------------- > > - chris > > > On Jan 16, 2012, at 21:02, Brian Wachter wrote: > > > Say I have a WebDNA database called "customers.db". What is the best way > to protect this file from someone just typing the path to the file in their > browser and having the raw data appear in the browser? With regard to User, > Group and Everyone permissions, I presume that the permissions on this file > should be "none" for "Everyone", but what should the Group permissions be > set to so that WebDNA can access the file? > > > > I'm running WebDNA 6 on OS X 10.6. > > > > Thanks, > > Brian Wachter > > Stoneport LLC > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives:http://mail.webdna.us/list/talk@webdna.usBug Reporting: > support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --20cf305640cf79821e04b6ade100 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What chris said. =A0Govinda's suggestion only blocks those from being p= rocessed by WebDNA, not from being returned by the web server. =A0This is n= ot a permissions issue because the web server will presumably need to acces= s the dbs because WebCatalog is started by the user that is the same as the= same web server. =A0

Bill

On Mon, Jan 16, 2012 = at 6:19 PM, <christophe.billiottet@webdna.us> wrote:
You can also add these lines in your httpd.conf (maybe it will also work fr= om an .htaccess)


#-----------------------
<FilesMatch =A0".*\.(db|inc|conf|ini)$">
Deny from all
</FilesMatch>
#-----------------------

- chris


On Jan 16, 2012, at 21:02, Brian Wachter wrote:

> Say I have a WebDNA database called "customers.db". What is = the best way to protect this file from someone just typing the path to the = file in their browser and having the raw data appear in the browser? With r= egard to User, Group and Everyone permissions, I presume that the permissio= ns on this file should be "none" for "Everyone", but wh= at should the Group permissions be set to so that WebDNA can access the fil= e?
>
> I'm running WebDNA 6 on OS X 10.6.
>
> Thanks,
> Brian Wachter
> Stoneport LLC
> --------------------------------------------------------- This message= is sent to you because you are subscribed to the mailing list . To unsubsc= ribe, E-mail to: archives:http://mail.webdna.us/list/talk@webdna.us Bug Re= porting: support@webdna.us

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@web= dna.us>.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>

--20cf305640cf79821e04b6ade100-- William DeVaul

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:

Slow Code, how to speed up (2002) surf express & webcat (1998) WebDNA Writer Needed (1997) Authenticate Questions (2003) Banner Ad example (Typhoon) and WebCatalog (1997) Examples of cross-selling with WebCatalog? (1998) Whats up with emailer? (1998) blank page from template (1997) Anyone have an invoicing system? (1999) Date problems (1997) RE: Suggestions for Topics to be covered in an Advanced WebDNACourse... (1998) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Search or delete (or date or time) has bugs ... (1998) [WebDNA] BUG REPORT [MATH show=t] WebDNA 8.6.1 & 8.6.3 server (2019) Sandbox DB permissions (2005) 2nd WebCatalog2 Feature Request (1996) Purchae error - Fixed to a degree (1997) PCS Frames (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [showif] / [hideif] (1997)