|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Trusting a location for Framework 2.xdatabase and fails because I assume its an untrusted location on our Novell Server. After looking through the Framework configuration tool under admin tools in Control panel I don't see any method to make a location trusted. This is my untrusted location \\dat2\IPD\DEV\Shared\SandBox\KSG\CAS_Test_1 The code ' connection shorten for demo Dim TheConnection1 As OleDb.OleDbConnection = New OleDb.OleDbConnection("Data Source=NorthWind.mdb;" ) TheConnection2.ConnectionString = GetConnectionStr() TheConnection1.Open() Dim table As DataTable table = TheConnection1.GetSchema("Restrictions") Me.DataGridView1.DataSource = table The test application is "signed" Tried setting the demo to "Full trust" Tried using the calc permissions This entire test/demo project is for me to get familar with setting permissions/ Thanks for any insight, Kevin Is this the wrong forum for this question?
Is the question understandable? Show quoteHide quote "Kevin S Gallagher" <kevin.s.gallag***@state.or.us> wrote in message news:%23BBP9O$5GHA.1256@TK2MSFTNGP04.phx.gbl... >I have a very simple Windows form application which opens a MS-Access >database and fails because I assume its an untrusted location on our Novell >Server. After looking through the Framework configuration tool under admin >tools in Control panel I don't see any method to make a location trusted. > > This is my untrusted location > \\dat2\IPD\DEV\Shared\SandBox\KSG\CAS_Test_1 > > The code > > ' connection shorten for demo > Dim TheConnection1 As OleDb.OleDbConnection = New > OleDb.OleDbConnection("Data Source=NorthWind.mdb;" ) > TheConnection2.ConnectionString = GetConnectionStr() > TheConnection1.Open() > Dim table As DataTable > table = TheConnection1.GetSchema("Restrictions") > Me.DataGridView1.DataSource = table > > > The test application is "signed" > Tried setting the demo to "Full trust" > Tried using the calc permissions > > This entire test/demo project is for me to get familar with setting > permissions/ > > Thanks for any insight, > Kevin > Have you tried adding a code group that uses URL evidence under the
LocalIntranet_Zone code group of the machine policy level? You should be able to see this code group in the treeview if you expand the following nodes: Runtime Security Policy \ Machine \ Code Groups \ All_Code. That said, since this is a .NET 2.0 application, deploying as a ClickOnce application might be a more attractive option. If you're interested in learning about ClickOnce, http://msdn2.microsoft.com/en-us/vbasic/ms789088.aspx might be a good place to start. For more in-depth information, see http://msdn2.microsoft.com/en-us/library/t71a733d.aspx. Show quoteHide quote "Kevin S Gallagher" <kevin.s.gallag***@state.or.us> wrote in message news:%23BBP9O$5GHA.1256@TK2MSFTNGP04.phx.gbl... >I have a very simple Windows form application which opens a MS-Access >database and fails because I assume its an untrusted location on our Novell >Server. After looking through the Framework configuration tool under admin >tools in Control panel I don't see any method to make a location trusted. > > This is my untrusted location > \\dat2\IPD\DEV\Shared\SandBox\KSG\CAS_Test_1 > > The code > > ' connection shorten for demo > Dim TheConnection1 As OleDb.OleDbConnection = New > OleDb.OleDbConnection("Data Source=NorthWind.mdb;" ) > TheConnection2.ConnectionString = GetConnectionStr() > TheConnection1.Open() > Dim table As DataTable > table = TheConnection1.GetSchema("Restrictions") > Me.DataGridView1.DataSource = table > > > The test application is "signed" > Tried setting the demo to "Full trust" > Tried using the calc permissions > > This entire test/demo project is for me to get familar with setting > permissions/ > > Thanks for any insight, > Kevin >
TripleDES output size
Problem with pkcs #7 Sending signed and encrypted email. Genereate Key with SecureString and Rfc2898DeriveBytes VS 2005 publish and app.config encryption problem BinaryFormatter.Deserialize and Smart Clients StrongNameIdentityPermission Role-based secu.: IIS hosted remoting server doesn't hold my princ Elevating trust for a UserControl displayed on a web page How to add a License key to a vb.net 2003 programme |
|||||||||||||||||||||||