Bypass Security Exception

Posted on 2006-03-28
Last Modified: 2006-11-18
I'm trying to deploy an app that will run from a network drive. it write to a log file on the network and this causes an exception if i do not go into the configuration wizard and change my localintranet security.  how can i programmatically change this security or somehow bypass this security check so each user doesn't have to go through this?
Question by:VBMan_06
    LVL 69

    Accepted Solution

    Hi VBMan_06,

    You will have to do something on each user's PC for sure. To grant FullTrust to the LocalIntranet (1.2) simple type:

    caspol -cg 1.2 FullTrust


    Author Comment

    can i do this programmatically?
    LVL 69

    Expert Comment

    by:Éric Moreau
    you can put this in a batch file and have the users run it. but be advised that the user needs to be local administrator in order to run this.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now