Progmatically save to password protected network folder

I am looking to save a file to a password protected network folder.  I tried using the standard Write Text.vi to see if a dialog would pop up, but it did not.  There is not an ftp server running on the networked computer, so I dont think that will work.
The IT department directions to the folder say:  Go to Start> Run and enter url \\computername\folder\subfolder\...  and a dialog will appear to enter username and password.
Any ideas??
Thanks
Kenny

muks wrote:
Well this is what we do. Run--->(doubleslash(\\) computername slash(/) d$)
Eg: \\pc48\d$ .When you get a popup(U should) type the username and password of the that computer having admin rights.
That simply reiterates what the IT department originally told the poster to do, except that you're using the administrative share. 
Kenny K wrote:
I should have noted that there
should be no user interaction, ie they should not be entering the
username and password, the program should login and save the file
automatically.  sorry.
To do this you will need to delve into the Windows API. You can also use .NET to perform impersonation. Most of the examples that are on the internet are based on .NET 1.1 and it's probably easier to simply create yourself a custom class that you can call using a single method rather than trying to put all the .NET code into LabVIEW. An example of using impersonation (though there are lots of them) can be found here. 

Similar Messages

  • Why can't I save my password protected file in a password protected folder?

    I've just encrypted my folder which contains password protected files. I've attempted to save a new password protected file (Word document) but have had to save it to my desktop because when I try to save the file to the folder I receive a message: "Word cannot save or create this file. The disk may be full [which it is not] or write-protected [which it is]". Sooooooo. Does this mean I can only password protect the folder and not the files? Which is really annoying because I really do need the two levels of security. Please can someone help?

    File Vault is not in Disk Utility.  It is in System Preferences/Security/FileVault.

  • Password Protect a Folder

    Hello,
    is there a way to password protect a folder?
    THX
    Ben

    Almost. You can open "Disk Utility", then File > New > Disk Image From Folder. Choose the Folder you want to "password protect", then click Image. In the next dialog box, choose one of the two types of encryption (not none!). Also choose a name for the disk image, and click "Save". You will be prompted for a password for the disk image. Now you have made a copy of the Folder you wanted to password protect, and it will have a dmg extension. To eliminate the original Folder, drag it to the Trash and then "Secure Erase" the Trash. To use the new password-protected disk image, double click it and type in your password. In fact, you probably won't need to remember the password for the disk image itself, because it will be stored in your keychain. Rather you will need to type in your usual login password so that disk utility can retrieve the image's password from your keychain.
    Two comments:
    1. You may not want to secure erase the original folder until you are sure the disk image works!
    2. I don't have a lot of experience with this, so I can't promise the disk image will be writable, and not read-only.

  • Windows Server 2008 - password protect network folders

    I was tasked to password protect a few folders that are being shared in the network.  The folders are stored in the server (that i have admin access) and anyone in the network have full access to the folders and the files inside those folders. The computers linked in the network have different OS - 3 running vista, 2 running xp and 1 windows server 2008.  Anybody in the office can use the computers without being prompted for a password (except the server) and the folders are accessible through any of those computers.
    The following are my questions:
    1. Is it possible to password protect folders shared in the network? If so, if someone wants to access those password protected folder through any of the computers connected to the network, will they be prompted to enter a password to be able to access it or the system will just say "access denied?" If so, please give detailed instructions on how to do it.
    2. If it is possible to password protect network folders, is it possible to put different passwords on each folders? If so please give detailed instructions on how to do it.
    3. If it is not possible to do any of the mentioned above through windows, is it possible with the use of a third-party software? If so, what are those third party software?

    Hi All,   First time on this forum and am finding it very interesting (sorry about the proposed as answer above.. hit the wrong key).
    I found this topic particularly interesting and am looking to do a similar thing but seemed to have gotten around it quite easily (if I am on the same lines as greggync777 that is).
    My problem is this I have a Home Theatre Network set up in my lounge to several locations around the house with around 8 gb of videos/music/pics etc, all works fine on connected pc's with WMC (all using Windows 7) and all is shared by family for entertainment.
    I also have a Seperate workstation where I do my work (video editing) which involves storing considerable amounts of footage and more importantly all the work files/folders all of which is confidential, at the moment is also on a seperate pc which also houses 8 hdd with around 6gb of ever growing video information.
    My point is that both these PC's ( HTPC and my WORKSTATION) are a bit too noisy despite having installed the best I can afford fans/Samsung eco green hdd's. My desire is to build a main super server running WHS 2008 (The size/Cooling/Noise etc is not a problem due to where it will be located). My main concern is Security with so many in the family having direct access to the Server so I want to restrict which files/folders they can subsequently access once there.  I want to be the only one to have access to my work from my PC and everyone else denied access.  I have set up a test rig running WHS08 and have set up access with several PC's using passwords for the server etc which was straightforward after creating a user account for them on whs08, therein laid the problem of then how to keep them from accessing my side of the server which is when I hit up on this thread after much searching. Following one of the suggestions above I went to the folder in question (in my case this will be a plus as all my work will be in one main folder with several thousand sub folders) to the security tab/permissions etc and firstly removed access to everyone except the server administrator. I then granted access only to one PC on the network - the one that is my workstation together with a password ( I meant to say upto this point everyone I had given access to the server could access my test folder), went back to my PC and was able to access as normal after entering the password. I then went to every other PC on the network (that has access to the Server) where I am pleased to say all denied me access to my folder. (my work pc by the way is running XPsp3). Not sure if it will work for Greggync777 or if it what he is looking to do but it did for me. I apologise also if I have rambled on a bit for my first thread.
    tks   Dave

  • Is there any way to set up an Airport Extreme that had been previously used in a password protected network and the password was not provided by the seller ?

    Background -
    My original Airport Extreme Base Station failed (would not connect to the modem). I purchased a similar, if not identical base station on eBay. Unfortunately, the purchased base station apparently was used in a password protected network. For what it is worth, my son gave me a Netgear wireless router, but it leaves a lot to be desired. For one thing, I use to keep the cable modem in the basement along with the Airport base station, with a printer connected to the USB port. The Netgear device does not have a USB port and also requires that the computer (in this case, the eMac) used to set up the network be connected to one of the ethernet ports. This meant I had to move the cable modem and router into my bedroom, a very undesirable situation. It then occurred to me that the original Airport base station Wi-Fi function might still work, and tested this hypothesis and sure enough, the Wi-Fi function does indeed work I currently have both base stations powered on, with my printer connected to the original. Both base stations appear under my Network icon, but neither Airport Utility 5.4.2 or Airport Administrator Utility 4.2 see either base station. I can select the original base station as my network, connect to the printer or even my other computers, but as soon as I try to select the new one, it asks for the password. I would like to somehow reset this base station and then redefine the network name and encryption.

    I would suggest that you perform a "soft" reset on the AirPort Extreme Base Station (AEBS) that you just got from eBay. This type of reset will temporarily (5 minutes) disable both the base station and wireless security passwords so that you can access it with the AIrPort Utility to make the necessary changes.

  • How do I password protect a folder on my macbook pro?

    Can someone help me figure out how to password protect a folder on my macbook pro?

    This is how I password them.
    http://osxdaily.com/2012/08/12/encrypt-folders-mac-os-x/

  • -I have a password protected excel spreadsheet, how can I get my iPads and iPhones to read this and save it password protected?

    I have a password protected excel spreadsheet, how can I get my iPads and iPhones to read this and save it password protected?

    Documents to Go says that it, "Opens password protected Excel 97-2008 files", but does not say whether it can save them as "password protected".
    This might work for you.

  • How do I save a password protected file without a password?

    Someone sent me a password protected file and I want to save it on my computer without the password.
    Thanks,
    Scott

    Hi Scott,
    It is not possible to save a password protected file without a password with Adobe Reader, you would require Adobe Acrobat to remove the password protection. Even with Adobe Acrobat you can only remove the security if you are aware about the password otherwise you need to contact the Author/creator of the PDF to remove the security.
    Regards,
    ~Pranav

  • Is there a way to just password protect a folder instead of Home?

    Is there a way to just password protect a folder on your computer?

    No.
    You would need to create a password protected (encrypted) diskimage using Disk Utility. For details use the search page for other discussions.

  • Trouble Connecting To Password Protected Networks

    Hello. I'm having trouble with the wireless side of life.
    I'm in Japan and I'm trying to connect to YahooBB wireless with my macbook. Everytime I enter the password, there is a message saying the connection has failed. I have also tried to connect wirelessly at work. I enter their password and I get the connection failed message. The only place I can connect is at the Apple Store which doesn't require a password.
    Could there be a reason as to why I can't connect with a password protected network? I correctly enter the passwords over and over again.
    Excuse me for such a silly question (I'm new to Mac) but...do I need to purchase Airport Express to connect at work or with YahooBB? I've always assumed there was no need.
    Thanks for your help.

    What's the difference between hex and ASCII?
    It is only how the information is presented. Humans can remember the ASCII string easier. The underying bits are the same. You can use tables like this one to convert back and forth between the ASCII characters and their hexadecimal representation.
    If you can, the best wireless encryption to use is WPA2. If you can't use WPA2, use WPA.
    128 bit WEP is very strong and adequate in most circumstances.
    64 bit WEP (sometimes called 40 bit WEP) is very weak and should be avoided.
    The type of encryption needs to be set on the wireless router (base station). Your Mac will then present you the correct dialog box to enter the password.

  • Is it possible to have multiple time machines on the same password protected network?

    is it possible to have multiple time machines on the same password protected network?  any insight would be helpful  thanks

    Youshould set one of them up to extend the wireless network. That one would not need an Ethernet connection and would allow your network to cover a broader area.

  • OLE2 Excel File Save as password protected

    Hi All,
    I would like to save an Excel File as Password protected.
    This File is created by OLE2.
    How can I do this?
    This is the Coding, how I save the File-->
    CALL METHOD OF ls_wbook 'SaveAs' EXPORTING #1  = p_file.
    Thanks for the Answers...
    Bye
    Besi

    Hello Besi,
    The following code should work. Try it out.
    CALL METHOD OF document 'Protect' EXPORTING
                             #1 = 2
                             #2 = -1
                             #3 = 'password'.
    CALL METHOD OF documents 'Save'.
    Here 'document' is the 'ActiveDocument' object.
    How to get the 'document'  object:
        CREATE OBJECT worddoc 'Word.Document'.
        GET PROPERTY OF worddoc 'Application' = wordapp.
    GET PROPERTY OF wordapp 'ActiveDocument' = document.
    Regards,
    Jitendar

  • Cannot save a password-protected file

    The bank has sent me my own statement except it is password protected. I want to save this file WITHOUT password protection.  How would I do this?  I am using ADOBE X.
    Thanks

    You can't do this in the free Reader. Only in Acrobat. Even in Acrobat, the bank could have protected the document in a fashion that you can't remove the security setting.

  • Password-protect a folder within a PDF Portfolio?

    Is it possible to password-protect an individual folder within a PDF Portfolio?  (I don't want the password to apply to the Portfolio as a whole). 

    You can protect the PDF documents.

  • It won't let me select 'Join' on my password protected network

    I can join non-protected networks.
    My network shows up , it lets me type in the password but the 'Join' option never becomes selectable.
    This is on my Macbook and is only happening after I installed leopard.
    Thanks

    Same here,
    I am not able to connect to my windows xp pc. When I go to finder and select go and type in the ip address, it finds the 3 drives that I enabled for file sharing. When I try to connect I get a message A volume failed to mount The volume "C" could not be mounted.
    I can connect the NSD drives and to the network printer, but not my PC.....

Maybe you are looking for