CAS and fully trust form - InfoPath Dev
in

InfoPath Dev

CAS and fully trust form

Last post 12-29-2005 04:29 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-22-2005 11:17 AM

    • mar
    • Top 500 Contributor
    • Joined on 09-04-2005
    • Poland
    • Posts 37

    CAS and fully trust form

    Let's say, that i'm working on a form(which is installed in sharepoint document library) with getting Environment.username and userdomainname(visual studio and c#). There is a cas problem with userdomainname (with only username there is no problem). I've read about fully trusted forms, and i assume, that the only way to make a form fully trusted is to make an install of it. I'm a little terrified: if in my firm there are 300 computers, will i be forced to install this form on each computer? Isn't there a way to do something only on my server?Without 'touching' clients computers?
  • 12-28-2005 10:14 PM In reply to

    Re: CAS and fully trust form

    Yes. Don't do it. Use a Web service if you need domain-name. Or, you could set a CAS policy for all machines. See chapter 6 in my book.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 12-29-2005 03:03 PM In reply to

    • mar
    • Top 500 Contributor
    • Joined on 09-04-2005
    • Poland
    • Posts 37

    Re: CAS and fully trust form

    Thanks for an answer, i will check this cas policy for all machines, when i get your book.
  • 12-29-2005 04:29 PM In reply to

    Re: CAS and fully trust form

    You will have to set the policy using SMS which is a Windows product. The book describes how to build an MSI for each machine. Sorry for the confusion. Chapter 8 (not 6) describes how to create the MSI for a given CAS policy. For the SMS stuff (setting policy), you'll want to check MSDN.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.