VS 2008 Storing Ftp Password Into Application Variable?

May 16, 2011

I have an application that is updating from my ftp server.Inside app I have 2 variables like this:

myFtpUser="ftpuser@mydomain.com"
myFtpUserPassw="myftppassword"

I obfuscate exe using Eazfuscator.For two times someone deleted all files from ftp account,I suppose he got the ftp password,is it possible to got it from my app exe ?Is it enough protected ?

View 10 Replies


ADVERTISEMENT

Storing 2005 Connection String, Username And Password Outside The Application?

Aug 13, 2009

Does anyone know how to store the connection string in a file rather than hard coding it in the application. For example i have declared this connection string in the form to connect to oracle database and it works. But i assume this is not the right way to go by if one is looking for more secured environment.

strcon = "Provider=MSDASQL;" & _
"Driver={Microsoft ODBC for Oracle}; " & _
"CONNECTSTRING=(DESCRIPTION=" & _

[code].....

View 9 Replies

VS 2008 - Storing Selected Item In ComboBox To Variable On Button Click

May 10, 2010

I have 13 variables, all called Items1, Items2, Items3 and so on. I have a combo box with items in, each time I click a button I want it so whatever is selected is stored in a variable and if the button is selected again then it stores whatever is selected in the next variable. I know all the code for selecting items in a combo box and transferring it to a variable but the problem I cannot do is the part where each time a button is clicked it stores whatever is selected in the combo box to the next variable.

View 9 Replies

.net - Securely Storing A Password Locally That Is Used For Web Service?

Apr 27, 2011

I have an application that authenticates against a third party web service by sending a username and password. At the moment I'm typing the password on a winform each time I start the application - but I need it to login automatically.

I'd like to store the username/password somewhat more securely than

Dim username as String = "username"
Dim password as String = "password"

I understand that I probably won't stop a determined hacker with access to my source code, but storing them as plaintext feels wrong. I've found some similar questions on here but none that provide me with an answer I can use.

Edit: The web service isn't mine, it's an API that requires me to login to use.

View 1 Replies

Entering Username And Password And Storing It To A Database In ASP.Net?

Jun 6, 2011

Entering Username and Password and Storing it to a database in ASP.Net?

View 1 Replies

Security - Storing Windows Username + Password

Jan 6, 2011

I'm writing a backup program for personal (for the moment at least) use.

For some directories (network directories / protected directories) credentials are needed to access them.

I can setup different jobs in the program to run at specific times.

These jobs are stored in an XML file.

I want to also store the usernames and passwords which the jobs will need.

What and where would be the best way to store these?

Changing permissions on the directories is not an option.

View 2 Replies

Storing Usernames And Password After The Program Closes?

Feb 6, 2012

storing usernames and password after the program closes. I do not want them to be stored in a .txt file, as this is insecure. How do I store it?

View 2 Replies

Storing UserID And Password Values From MainString To Variables

Mar 10, 2009

I have this string
mainString="/MyApp/ViewPage.aspx?userId=admin&password=1&id=975"

I am getting value in mainString using this code
Dim mainString As String = Request.QueryString("dest")

And I have two sting variables
1)strTempUsername
2)strTempPassword
In these variables I want to store userId and password values from mainString.

So for this requirement how I write logic in code
Dim arrArray() As String
'/MyApp/ViewPage.aspx?userId=admin&password=1&id=975"
strIndexq = mainString.IndexOf("?") ' Check QuestionMark Exist or not in mainString
If strIndexq > 0 Then
Dim strTemp As String
[Code] .....

Here I am getting userId and password but in this code I will get problem when after ? if userId and password starts wit capital letters and password maybe contain characters like "1&a"

And after getting userid and password. I want to remove userid and password from mainstring. So I want mainstring look like:
"/MyApp/ViewPage.aspx?id=975"

View 15 Replies

Storing Multiple Words As One Variable To Use Instr() To See If Any Of It's Variable Words Are In The Text?

Jan 26, 2012

other than GML (Yoyogames.com Game Maker Language), I am new to the coding world. The only "major" project I have completed using VB is a computer calculator that exactly mimics the capabilities of Windows 7's calculator. Yesterday, I began a Chatbot program for my girlfriend. Lol. I have used the instr() function to answer most of the questions or answers which are typed into the textbox1. I find this extremely troublesome because when using the instr() function you cannot say instr(textbox1.

Public Class Form1
Dim fos As String = "Foster: "
Dim ash As String = "Ashley: "

[code].....

View 8 Replies

Reading XML And Storing In Variable?

May 18, 2011

I am trying to retrieve a 'tag'(Is it called that?) from an XML webpage. Once I make a post request from my vb.net app it sends a command to my online webserver and redirects me to a page that has entries that change each time. The page that im redirected to that changes each time looks something like this:

<mainpage> <id>hello</id> <random>176</random> </mainpage>

What vb.net code would I use to retrieve the id (In this case 'hello') and store it in a variable.

View 1 Replies

VS 2008 Creating A Password Application With Do Loop

Oct 19, 2011

VS 2008 Creating a Password Application with Do Loop

View 4 Replies

Assigning A Variable To A Class Then Storing?

Sep 30, 2009

i'm working on a code that i want to start creating new classes with but i want to know if there's a more direct way to send the variables used in the form to a new class for storage.

for example i've got this on a form...

Dim ClassID As String
Dim ClassName As String
Dim Grade As String

[Code]....

you know? so what would be my most direct route to get this? how should i start?

View 15 Replies

Error In Storing An Image Into Variable In .net

Mar 10, 2011

i need to retrieve an image from accessdb and store it in a variable m getting an error in the following code

'this is to retrive an image from database Dim User_Pic As Byte() = DirectCast(dtUserLogin.Rows(0).Item(11), Byte())this is to store image into a variable userpicture = User_Pic userpicture is a bitmap as shown Public userpicture As bitmap

View 1 Replies

Storing In A Single Variable In Linq?

Jan 24, 2011

how to store multiple variables in a single one to be stored in string?I have some 5 linq variables which am trying to store in a single string...Can you tell me how should i do so?

View 3 Replies

Storing A String Variable Value In Windows Registry

Apr 21, 2011

I want to store a string variable value in the windows registry If the below is a correct statement. My.Computer. Registry. SetValue ("HKEY_ LOCAL_ MACHINESYSTEMMyKey", "Start", "ABC")i will declare a string variable Dim strvalue as String strval = InputBox("Enter a string")and now i want to insert the User given value in the Registry Key as above in place of "ABC".

View 2 Replies

Storing A Text Box Date Entry As A Variable?

Mar 11, 2010

I have the following code for part of an application I'm building and I need some instruction on how to store this value and carry it to the next part of the program. Private Sub dateEntryTextbox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dateEntryTextbox.TextChanged

[Code]...

View 2 Replies

VS 2010 - Storing Data In Some Type Of Variable

Jan 19, 2012

I have data that I want to store in some type of variable where I can easily access when needed. For example I have:
google.com -> This is a cool website.
yahoo.com -> News website
gmail.com -> Mail website

I want to be able to store those in some type of group so if I go like:
get data of google.com without going through a loop.

View 2 Replies

Storing Data From A Database Into A Variable To Perform Calulations?

Aug 23, 2011

i am trying to write a program which reads a data from the database and perform some calculations. what i am intending to do is when a user selects an item from a listbox and clicks the submit button the program, calls a function to calculate using the value stored in the database and display the result in a textbox.the problem is i cant store the data retrieved from the database into a variable so that the calculations can be done. i am using vb and microsoft sql server.can anyone tell me how do i store the data retrieved by the query into a variable.

View 12 Replies

Save Data (some Text That User Type [as Password Etc]) And Save That Password On Same Location Where Is Application?

Dec 25, 2011

how to save data (for example some text that user type [as password etc]) and save that password on same location where is application. After saving I want to have also Load option so we can load saved data.

View 7 Replies

VS 2010 Storing Application Data Within An Application

Jan 8, 2012

I was wondering if it's possible to store application data within an application without storing the data in an external file. For example, in my application, the user can choose where he/she would like to store the files that the application creates. I need to make the application remember the location that the user specified. I've tried using My.Settings to save this information, but since my application is standalone, if the location of the application changes, the My.Settings information changes as well (unless I coded it incorrectly before). I would prefer not to store this data in a .txt file or something similar.

View 10 Replies

Storing Values In Application?

Feb 14, 2012

I am trying to store things such as user data for each user in my program, like with a class I made named UserData. I would like to have data different for each user. How can I do this? Also, I need to be able to access other user's data from my account.I tried using Settings, but they only had a limited number of classes, and the settings didn't seem to save for some reason.

View 13 Replies

Asp.net - Storing A Custom Object In A Web Application

Jun 14, 2012

I am at a new company and I am building a wizard for a web app, (.Net/4.0). The user goes to a few separate screens during the wizard process and must return to the original screen before completion of the wizard. This is different from how they normally do this. But this is how it is TO BE DONE.

One option is to store the result of each panel in the main screen in the DB. So then, when the user leaves & redirects back. I could check for a querystring then call a datareader and populate original values appropriately.

[Code]...

View 2 Replies

Storing Persistent Objects In VB Application

Aug 31, 2011

point me to the best way to store persistant objects ( of my own class) in a vb application? I am putting together a simple family recipe application and have created a food item class. I would like to store the instances ( food items) indefinately so that they are there each time I start the program complete with all properties and meethods

View 14 Replies

Storing SMTP Credentials For Application?

Apr 8, 2010

I've been storing SQL connection strings in web.conf which is fine but now I need to store SMTP credentials somewhere protected. web.conf seems like the likeliest place since its protected but how can they be stored?

I've added the details to my web.conf but amnot sure how to reference them

<system.net>
<mailSettings>
<smtp>

[Code].....

View 1 Replies

Storing Strings And Application Settings?

Jun 25, 2010

I've came to the stage where i need to save strings and application settings for my application. The My.Settings have worked it out until now. Now i have to store so many settings it's hard to keep track of them. That is why i need something new. So i've been looking around in INI files which seems impressively simple - but not very flexible. I've also took a look at XML which seems to be something to dive in to. But what i need now is advice. How do you store settings?

View 11 Replies

XML Files - Storing Information For Application

May 22, 2009

I am making a program that stores information for my applications. There are 4 main things I need in the XML file, the login information (User name and password), Application names and keys, and the owner of the application (who bought it). The program allows the user to enter as many applications and owners as they want and once login information is correct it loads the data. Then on exit all the data saves to a XML file.

My XML file looks like this
<Data>
<Login>
<UserName> (UserName) </UserName>
<Password> (Password </Password>
</Login>
<Applications>
[Code] .....

View 6 Replies

Storing 3 Tables Of Data In Application Settings

May 16, 2010

I will need to store 3 tables of data. Instead of implementing an entire database backend, I just want to store the record for these tables in application.settings.I don't care about security. Is it advisable to do it with application settings? how else would you do it? Perhaps storing a matrix in application.settings would be OK?

View 4 Replies

Storing Application Variables In An External File?

Jul 8, 2009

I have been tasked to create an application, for which the requirements may change over time.This application will be a data entry Windows application,of which multiple copies will be running.All data will be written to text (.CSV) files for validation before being uploaded to a remote mainframe system (iSeries).My application needs to store certain variable information in an external text (or XML) file; for example, the file path to shared resources (which may change over time),as well as the specific data fields required by the mainframe system.

My questionsare these: what is considered the best practice for accomplishing such a task, and how would I accomplish it?I am completely new to XML, so I don't even know where to begin, although I am sure that XML is the path to follow for what I am trying to accomplish.

View 1 Replies

Storing Files Into An Application Compressing Them And Then Extracting Them?

Apr 8, 2009

How could I go about doing this if I can? Storing files into an application compressing them and then extracting them?

View 1 Replies

Application Settings, Storing Type Internal To Your Assembly?

May 13, 2009

I am trying to store an enum in my application settings. This enum is defined within my main assembly in the same namespace. When I try to find the type under the application settings, it seems like I can't find any types within my namespace. I can see all the types of the assemblies I reference though.

View 2 Replies







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