Results 1 to 8 of 8

Thread: Security & Registry

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Greece,Athens
    Posts
    4

    Exclamation Security & Registry

    Hi to all!
    I am new in this forum and happy to be registered in a forum with lot's of info!
    Have found a few solutions in the past for VB6 again lol !

    Well there is a new problem now which I couldn't find any solution after searching lots of previous posts.

    Security Problems in Network Computers.


    The security is high to all network computers, they all run XP SP2 and can't install any application.
    My application must register specific DLL's files so as to run, it is logical not to complete the installation if user ins`t 'administrator', no security changes can be done, so I must find a way to install my application with high security.

    The program is in VB6 so I am using the VB6 Installer so as to create the Setup and inside the 'Support' folder I have all my program files including my DLL's.

    It is critical to install my application to all users with User right(no installation of programs can me done), so I have to find a way to intall my program with high security policy of the network.

    Regards,

    Michael.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Security & Registry

    Welcome to the forums.

    I'm a commerical developer and we have the exact same problem with several of out clients.

    The solution: It must be installed by an administrator. At our client sites, an administrator has to physically sit down at each machine, login with the admin account, install our product, and then log back out again.

    Given the way they have there company machines set up, that is the only way that anything can be installed.

    It sounds like you are facing the same thing.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Greece,Athens
    Posts
    4

    Re: Security & Registry

    Yes I believe that you have the same problem!
    Thanks for the fast reply.

    What I have found searching VStudio2005 is that you can install your application with ClickOnce with out having to register your COM objects!(user rights ofcourse!)
    All DLL's can be found from GAC and are locally installed at your applications path!
    I believe that really cool!
    If we upgrade the application from VB6 to VS2005 this will be peferct.

    I don't know if you have checked about this module(ClickOnce) that VS2005 has and how it handles DLL's ?

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Security & Registry

    Even so, I don't think that would necessarily fly with our client's IT department.

    Typically, the reason they lock down their workstations is because they WANT to maintain control over what gets put on them.

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Greece,Athens
    Posts
    4

    Re: Security & Registry

    Yeah that's for sure!
    It is logical to know what everyone has installed into there pc in a company network.

    Thanks for the tips. : )

  6. #6
    Fanatic Member bgmacaw's Avatar
    Join Date
    Mar 2007
    Location
    Atlanta, GA USA
    Posts
    524

    Re: Security & Registry

    ClickOnce also requires installation and local user registry rights so if your systems are that locked down it means installing by walking around.

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Greece,Athens
    Posts
    4

    Re: Security & Registry

    Hi bgmacaw, what I have done to test ClickOnce is that I have created a sample application and with 'user' previlledges and the installation is done 100%.
    .NET 2 Framework and ClickOnce application don`t need to register your DLL`s.
    The files are copied to a folder and from there you have your application path, ClickOnce works with user profile,meaning all files are copied to the C:\Document & Settings\(UserProfile) , but this is a VS2005 solution, my project is in VB6 !

  8. #8
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: Security & Registry

    I don't know if this will be of any use to you, but you can check if the current user is an admin. (I've found it useful in disabling options when dealing with the registry) Check whether the current user is an administrator

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