Results 1 to 6 of 6
  1. #1
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Protect BAT file

    I have got the ominous job of looking after and maintaining a very old application. The installation apps were bequeathed to me and sits on an accessible server folder. I have been able to work out the installation process but in doing so found part of the installation has a series of bat files that regulate permissions for certain people to have access. This to me, is ridiculous. What I am planning to do and have some knowledge in this area is to somehow protect these files from unauthorised access. Is there away of password protecting them or some method of "hiding" them away. Sadly the area they are on does not allow permissions on the shared area!!!!!!!!!

    All help and ideas greatly appreciated
    Jerry

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Protect BAT file

    The obvious solution is to move these BAT files to a folder that does allow you to set permissions. If they have to stay where they are, could they be modified to simply CALL a different BAT file that is in a protected location?

    StuartR

  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Protect BAT file

    Jezza

    Not really sure of what you're after e.g. read/ modify/ execute permissions, nor of the server permissions capabilities you have access to, but if you want a really fast/ lightweight encrypt/ decrypt method, I can make further suggestions.

    Alan

  4. #4
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Protect BAT file

    Hi Alan

    First thanks Stuart... a good set of eyes seeing it from the outside is always best..pretty simple solution.

    My reckoning this application is sitting on a standard PC somewhere purporting to be a file server....I have a habit of finding crusty old boxes turning over behind cabinets.

    It appears I have to map a drive from a users PC to this box (the bat files state that it has to be the I: drive for the files to be copied over) I am tempted to pull the whole folder of this box and put it in my Apps folder which is secure. Get the to map to this drive prior to installation and drag the files off from there.

    I'd love to hear your encrypt/decrypt method as it could come in useful for some other little project coming my way.
    Jerry

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Protect BAT file

    Jezza

    Your solution sounds like the most sensible, in terms of robustness and not relying on some obscure (unknown?) quantity to act as (what sounds like) an important link in the chain. I'll dust off the old crypto stuff and see what I can pull out. I might ask the powers that be if it's appropriate to any of the forums here (a bit obscure IMO?) and see if we do it here or behind closed doors... maybe more appropriate for cloak & dagger stuff anyway! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Alan

  6. #6
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Protect BAT file

    Jezza

    Here's a quick rundown on my rough & ready remedy.

    Alan
    Attached Files Attached Files

Posting Permissions

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