VS 2008 Secure Upload Of A File To FTP?

Nov 30, 2009

What would be the best way to input the password when uploading a file to FTP? The file gets uploaded behind the scenes without the user inputting any details (the username + password gets used)

So far I've used the network.upload method but the password is in plain text and obviously readable. I need to upload the file without anyone obtaining the password when doing so, would obtaining the password from a mysql database or some sort of encryption be better?

View 5 Replies


ADVERTISEMENT

Need Expert Opinion Secure Upload And Download Files

May 3, 2011

I am making a windows form and through this form i want my users to upload and download files stored in a Directory on a machine running windows 2003.Could anyone please tell me the best and secure way to share files on a directory for users to Upload and download and "without letting the users to know the actual path"..User Clicks on a Button and it will automatically download the files from server.User Clicks on another Button and it will automatically upload the files to server.The file name and paths will be taken from labels which are hidden on my form so the user doesn't need to specify anything..I have 3 Options and looking forward to some expert opinion on this. My main concern is to never reveal the location to users and smooth upload and downloads.Is there any better option..i mean from my windows form perspective only and not talking about firewall settings, folder permissions etc...or any 3rd party software to protect data.[code]

View 2 Replies

VS 2008 Secure File Deletion?

Feb 26, 2010

I was looking online for a application that can delete a file more secure then. Kill(C: est.txt")Then i had a thought.Maybe i can make my own.Is it possible to make a secure file deleter in vb.net or should i look into C++

View 5 Replies

VS 2008 How To Download File From Secure Website With Progress Bar

May 6, 2011

This is the Download file code which is 100% working when i will give directlink of file

And in this case progress bar is not working anymore and program hangs too let me know what is the problem with above code and how i will correct it

View 5 Replies

VS 2008 Drag And Drop To Upload File - Find File Size

May 5, 2011

Alright here's my situation: I have a form. This is a very small form that can be moved with the mouse (formborderstyle=none). The transparencyKey is 0,0,1. The form back color is 0,0,1. There is a label on the form. I drag files to this label(its backcolor is black[0,0,0]). What I want is for the filesize to be checked. I already have the uploading to ftpcode, I just want to know if the file is above my limit I set. (250mb per file)

[Code]....

View 1 Replies

Visual Basic - Upload Progress Bar For File Upload?

May 11, 2012

i have this code, how do i incorporate a progress bar into it? Private Sub btn_upload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_upload.Click

[code]...

View 1 Replies

Using Uploadify Or JQuery File Upload For CSV Upload In ASP.NET

Oct 24, 2011

Rather than using a Handler(.ashx), is it possible to use a web service(.asmx) to upload?

View 2 Replies

VS 2008 : Add An Upload Form For A .EXE File ONLY?

May 3, 2009

I wanted to know how I could add an upload form, so the user can upload a .exe file only.

View 13 Replies

VS 2008 FTP Upload File Empty?

Jul 20, 2010

I am using VS 2008 to upload a zip file created earlier in the program, the ZIP file is created where expected on the FTP server but it is empty

View 2 Replies

VS 2008 Ftpwebrequest To Upload File?

Jun 27, 2011

I have a vb.net window application to upload text file by using ftpwebrequest to a server. my question is: should I add a server response to the client application to make sure the server actually got the file. what I got now is only client side (to upload file to a folder in the server PC), but I havnt got a server side application to send response. If yes, how to create the server side application

View 2 Replies

VS 2008 Upload File And Get Response

Aug 25, 2009

I am trying to upload a file here. [URL]

Heres the headers I need to use to send. They're from live http headers.

[Code].....

View 2 Replies

VS 2008 How To Upload A File To Access Database

May 28, 2009

I would like to know how to upload .doc files to access database in VB.NET.All the codes I find are ASP.NET I don't understand how to do that in Vb.net.

View 1 Replies

VS 2008 : Upload/save File To Mysql Database?

Aug 12, 2009

i have a program in vb.net and my program will upload any type of file to my database, e.g common ext. to upload (.doc.xls) Im using mysql as database?

View 1 Replies

VS 2008 Upload A File To A Sharepoint Document Library

Mar 27, 2009

I want to upload a file to a sharepoint document library. This looks extremely easy and trivial but I haven't written any VB in about 10 years, so it's kicking my strASS I have tried looking into using the web services for this, but all of the solutions posted are incomplete, so I've punted and gone after the http put methods. I found this vbscript which works very well, tested on files up to 23MB and it works great.

[Code]...

View 4 Replies

VS 2008 Upload File To Free Hosting Site?

Dec 14, 2009

How would I upload a TXT File to a site lik

View 1 Replies

VS 2008 Upload File With Bytes Uploaded And Multithreading?

May 10, 2011

Dim length As Integer
Dim intOffset As Integer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim clsRequest As System.Net.FtpWebRequest = _

[code]....

What I'm trying to do is get the bytes already uploaded. I cannot seem to do this.Another problem: When uploading, the form will not move or change Label1.text. When pbUpload.value == 100, THEN it changes to a different number than label3.text.

View 2 Replies

VS 2008 File Upload Form - Allow A User To Select From Files

Jun 29, 2009

I am pretty new at VB but am trying to design an application that will allow a user to select from files on his or her PC, hit a '>>' button, and those files will appear in a list on the right side of the button (so I can then have the application upload those files via ftp). I am planning to use a TreeView control to act as a file explorer in the application. I have been unable to find any resources on the internet to populate the tree view with the user's local file structure, and was wondering if anyone could point me in the right direction.

View 1 Replies

File I/O And Registry :: Safe & Secure Way To Perform File Transfering Between Computers?

Feb 5, 2009

My application runs on a "server" machine and provides files (10megs - 100megs each) to 8 other computers. Currently this is done using a standard shared folder on all 8 computers and the server simply copies the file to \ComputerNameSharedFolder - and everything is great.However, due to new policies we need to remove all shared folders, so using a simple \ComputerNameSharedFolder is no longer feasible. Therefore I need to find a way for my application to be able to share these files in a safe, secure, and compliant way.There has been talk of using sFTP which would require each system to have an sFTP server running at all times (controlled by the application somehow), or also SSL was talked about as it can be integrated into the application easily, etc...

View 1 Replies

Download File From Secure Website?

May 9, 2010

I am trying to download a file from a secure website but I don't know how to do it becuase it gives me the error. Can not establish trust relationship for the SSL/TLS secure channel.

[code]...

My problem is that I can't set the credentials before I have to assign the variable the value so it throws an error.

View 2 Replies

How To Secure A File That Generate With A Service

Apr 12, 2010

I am programming a service for a company that will log valuable performance data on machines that they lease out to other companies. It is critical for them that this information is as safe as possible and that it can only be read by us (a program created by us that is). I already made a trippledes encryptor that works fine but i still have the issue that a person can delete or move or corrupt the file if he somehow manages to get out of the operation software and gain acces to it.So my question is: Can i lockdown a file and make it as good as impossible to change the file or delete it other then by being the admin or the program that is generating them?

View 1 Replies

More Secure Option Than Text File?

Oct 11, 2009

Im creating a program that stores usernames/passwords for different devices which will require a login to get into the program but I need to save the usernames/passwords somewhere. Is there a more secure way to store this than in a text file? Or I could try encryption which could be quite fun.

View 3 Replies

Secure App.config File In Application?

Feb 4, 2012

How to secure App.config file. As it contains all the passwords that connections use so any body can see the data in my databases. If we donot save the password at the time of making connection string, will it still be able to connect with the DB the same way?

View 1 Replies

Download A File Prgrammatically From A Secure Site?

Jul 30, 2010

I have a program that logs into a secure site, looks on the user's home page to find a list of links to reports that can be downloaded and then selects each one - this is currently a manual process but with 100 reports a time it takes a while. The idea is that all the reports will download to a specified folder with generic names so the user can play with them on their own computer rather than having to search through them online.

Anyway, everything's gone well as far as using a WebBrowser to connect to the site, log in and get the list of URLs however it falls down when it tries to link to them. I have tried two methods:

1 - Navigating straight to the URL, this gives an error message every time (asking me to try again)

2 - Directly downloading the URL with a WebRequest class (below) however this doesn't download the actual file, but rather a copy of the login page.

Current Code:

Public Sub DownFile(ByVal sFile As String, ByVal sRemoteUrl As String)
Dim wr As HttpWebRequest
Dim ws As HttpWebResponse

[Code].....

View 1 Replies

Unable To Secure/lock Down A File That Is In Use/open

Oct 4, 2011

I am writing a program that acceses a file in VB/Visual Studio 2008 on Win7 and running it as a user who has admin credentials. I am opening the file with the following code:

Dim Input As New FileStream("C:FileTest est.txt", FileMode.Append, FileAccess.Write, FileShare.None) To test to make sure I can't access this file, I tried to open it with Notepad and I was able to and got no errors. I wrote a new value using Notepad and even saved it and I didn't get any errors form Notepad or my VB program.

I then went on and treid to open the same file twice from my VB program as:

Dim Input As New FileStream("C:FileTest est.txt", FileMode.Append, FileAccess.Write, FileShare.None)
Dim Input2 As New FileStream("C:FileTest est.txt", FileMode., FileAccess.Read, FileShare.None)

And I receivded an error in my VB program as expected. So the FileShare.None switch kind of works. Although I was still able to open the file with Notepad while my VB program had it open. I was aslo able to open Windows Explorer and reame it and even delte it while my VB program had it "open", in the write mode no less without my VB program knowing anything about it.

Why are other applications able to ignore the FileShare.None switch? Seems pretty useless if that's the case. And a huge secruity problem

View 9 Replies

Sending SMS To Mobile Using Secure Gateway From .net 2008 C#?

Oct 13, 2009

I am developing a desktop application in VS2008 with C#. How can I send an SMS using a secure gateway?

View 3 Replies

VS 2008 - Making Secure Login System With PHP

Oct 11, 2010

I have making login system using with php. Now I want to hide the link by using strongest MD5 hash, but the one I have got is uncrackable. I want to decrypt them in the runtime, but I couldn't.

Here's the
Public Class Form1
Function MD5Hash(ByVal strToHash As String) As String
Dim md5Obj As New Security.Cryptography.MD5CryptoServiceProvider
Dim bytes() As Byte = System.Text.Encoding.ASCII.GetBytes(strToHash)
bytes = md5Obj.ComputeHash(bytes)
[Code] .....

The GetMD5Hash's method is using for to decrypt the MD5 hash to turns into the actual strings and MD5Hash's method is using for encrypt the strings into md5... However, the connection strings can be sniff the packets sent out. How to decrypt the MD5 hash and how to blocked the connection strings in the packets sent out??

View 12 Replies

VS 2008 - Secure Password Protection For Info?

May 11, 2009

I am making an program that stores most of my text files in it. So I need a secure password protection to protect my information's. I was told that MD5 will get the job done, so I used an MD5 protection to see if it'll be good. I gave the test program to a guy I know and he manage to get my password within a minute. (I am still a bit new to VB so which encryption to use...)

View 21 Replies

VS 2008 Datagridview Connect To A Secure Database

Aug 1, 2010

Busy to connect a secure access 2003 database (with a mdw file) to a datagridview but we don't know where we have to place the mdw file in the (advanced) properties

View 3 Replies

VS 2008 Make Database Setting Secure?

Oct 9, 2011

i have a program that connects to mysql database to check username/password.I have a line like this in the project:

conn = New MySqlConnection("server=myserver.info;Port=3306; user id=dbusername; password=dbpassword; database=dbname")Anyways, a user managed to get this info from the program

How can i make it so they can NOT grab this info from the program ?

View 12 Replies

C# - Upload File Via FTP - Server Returned Error (550) File Is Unavailable, Cannot Find File?

Oct 31, 2009

I'm trying to upload a file via FTP from my local computer to an FTP server, which is also on my local computer at the moment. I've got this sub I'm calling:

Public Sub UploadFTPFile(ByVal ftpservername, ByVal fullfilepath, ByVal filename, ByVal username, ByVal password)Dim clsRequest As System.Net.FtpWebRequest = _
DirectCast(System.Net.WebRequest.Create("ftp://" & ftpservername & "/" & filename), System.Net.FtpWebRequest)
clsRequest.Credentials = New System.Net.NetworkCredential(username, password)
clsRequest.Method = System.Net.WebRequestMethods.Ftp.UploadFile

[Code]...

I'm running an FTP Server using Golder FTP Server, which is freeware. I think it's setup correctly because connecting to the FTP Server using the exact same string as above using Windows Explorer works great.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved