Security of ASA file?

Discussion in 'ASP General' started by MDW, Jan 8, 2005.

  1. MDW

    MDW Guest

    I'd like to start using global.asa to store things like connection strings to
    databases and the like. As I understand it, you have to save the file in the
    root of your app.

    My concern is that storing the location of databases within the ASA file
    might be a security issue. Is there any way for a user to get at the
    information contained in that file and, by extension, get at the databases
    themselves?

    --
    Hmm...they have the Internet on COMPUTERS now!
    MDW, Jan 8, 2005
    #1
    1. Advertising

  2. MDW wrote:
    > I'd like to start using global.asa to store things like connection
    > strings to databases and the like. As I understand it, you have to
    > save the file in the root of your app.
    >
    > My concern is that storing the location of databases within the ASA
    > file might be a security issue. Is there any way for a user to get at
    > the information contained in that file and, by extension, get at the
    > databases themselves?

    No. Only if they gain access to the file system. IIS will not serve the
    contents of this file.

    Bob Barrows
    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
    Bob Barrows [MVP], Jan 8, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer

    Re: global.asa file (count sessions)

    Kevin Spencer, Jul 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    353
    Kevin Spencer
    Jul 30, 2003
  2. DevBoy

    Global.asa File ?????

    DevBoy, Aug 12, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    357
    Rick Strahl [MVP]
    Aug 13, 2003
  3. michaaal

    Is it bad to have a large GLOBAL.ASA file?

    michaaal, Jul 10, 2003, in forum: ASP General
    Replies:
    2
    Views:
    103
    Atrax
    Jul 10, 2003
  4. Grahammer
    Replies:
    12
    Views:
    336
    Chris Hohmann
    Aug 21, 2003
  5. Prabhat
    Replies:
    5
    Views:
    215
    Prabhat
    Oct 11, 2005
Loading...

Share This Page