Results 1 to 2 of 2

Thread: Lock Access DB ?

  1. #1

    Thread Starter
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Lock Access DB ?

    Can i lock an access database making it capable of being opened by my ASP application only? For security reasons?(A lot of personal info is going to be stored in it ...)

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    You could password protect the mdb file and the supply the password from your asp application.

    ConnStr = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath(".") & "\data\rob.mdb; User Id=danial; Password=test;"

    But i should inform you that the password protection system in access is a joke. You could crack it with few lines of vb code !!.

    The best way is to encrypt the personal data and then store the encrypted data on the access db. You could get pretty strong encryition algorithm, available as component or pure asp code. I might have AES algorithm implement in asp some where in the hard disk.

    Just do a seach on google you should be able to find other encryption algorithm that would be more then sufficient for you.

    Hope this helps.

    Danial
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width