How to log into a domain programmatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a client application outside of a domain developed in VB.NET.
If I want to see a shared folder from that domain into a browser I am just
typing something like:
\\10.1.1.1\FolderSharedName
At that moment it will be opened a login that asks me to log into that
domain and if I am authenticated I can see that folder content (I already
have all permissions set).
Now my problem is if there is any way I can do the same thing within VB
code. The System.IO does not give me any possibility to authenticate into a
domain. In other words, is there a way to programmatically authenticate into
a domain in order to be able to read files.

Thanks in advance,
 
Hi,

Here is a link to a ftp class for vb.net

http://support.microsoft.com/default.aspx?scid=kb;en-us;832679

Ken
------------------
I have a client application outside of a domain developed in VB.NET.
If I want to see a shared folder from that domain into a browser I am just
typing something like:
\\10.1.1.1\FolderSharedName
At that moment it will be opened a login that asks me to log into that
domain and if I am authenticated I can see that folder content (I already
have all permissions set).
Now my problem is if there is any way I can do the same thing within VB
code. The System.IO does not give me any possibility to authenticate into a
domain. In other words, is there a way to programmatically authenticate into
a domain in order to be able to read files.

Thanks in advance,
 
Thanks for your input,

but what I need is to read a file from a regular shared folder (on NTFS
system) not from a FTP site. This is because the FTP security is too low at
this moment.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top