472,958 Members | 2,031 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Password changing using mutation strings

I Posted a question about how to incorporate changable passwords to my
c/c++ programs without using a file to store the password in my college
discussion forum and all answers included the usage of self mutating
strings.But nobody actually knew how to incorporate it into the code.

Can any one please help me with this?

Feb 9 '06 #1
5 3439

vy**********@gmail.com wrote:
I Posted a question about how to incorporate changable passwords to my
c/c++ programs without using a file to store the password in my college
discussion forum and all answers included the usage of self mutating
strings.But nobody actually knew how to incorporate it into the code.

Can any one please help me with this?


Please be more specific in your question?

Anyway, you have to use files to store the password. The trick is to
encrypt it and then store it in file.

Feb 9 '06 #2
vy**********@gmail.com wrote:
I Posted a question about how to incorporate changable passwords to my
c/c++ programs without using a file to store the password in my
college discussion forum and all answers included the usage of self
mutating strings.But nobody actually knew how to incorporate it into
the code.

Can any one please help me with this?


What code? If you have a C question, please say so, ideally posting
minimal example of the problem code.

Questions about algorithms in general are best asked in
comp.programming, and you may also want some of the crypto newsgroups,
as well (sorry, don't know their names).
--
BR, Vladimir

Innovation is hard to schedule.
-- Dan Fylstra

Feb 9 '06 #3
my question is simple.Can we change the source code at runtime?

Feb 9 '06 #4
vy**********@gmail.com wrote:

my question is simple.Can we change the source code at runtime?


Yes, but that's not what you need. Changing the source code at runtime
has no effect until you recompile that code and run the new version of
the program.

Unless you are running in an interpreted environment, in which case the
answer becomes "you'll have to check with the vendor".

But, why would you want to "change the source code", rather than just
keep the password stuff in a separate file in the first place?

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>
Feb 9 '06 #5
vy**********@gmail.com said:
my question is simple.Can we change the source code at runtime?


The source code may not be available at runtime. But if it is, you can
change it, just like you can change any file - provided there are no
insurmountable obstacles in your way (e.g. lack of permission can be an
issue on some filesystems).

Of course, any changes you make to the source code will not ordinarily
affect the current run of the program. (Possible exception: a C interpreter
that constantly revisits the source code for further instructions.)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Feb 9 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: nick | last post by:
Hi All. I have a document loaded into browser. Later, I am loading some HTML content (using hidden frame) and replace some part of my document with new content, using innerHTML property. The...
1
by: patrickshroads | last post by:
I just started a new job and no one seems to know the SA password. Here's my plan to change it: 1. I've run a trace for a couple of days to verify that there are no jobs or processes that are...
27
by: frizzle | last post by:
Hi there, I've read in a few places that you should *never* store original passwords in a mySQL DB. Now i wonder if you encrypt it (with MD5 ?), how should i create a lost password function,...
5
by: Guadala Harry | last post by:
What are my options for *securely* storing/retrieving the ID and password used by an ASP.NET application for accessing a SQL Server (using SQL Server authentication)? Please note that this ID and...
0
by: Pavan | last post by:
Hi All, I am using Password Recovery control in order to reset my hashed passwords in ASP .Net 2.0 Beta 2. The system generated password is too difficult to remember, so i am giving Change...
6
by: chsadaki | last post by:
Hello I have a problem in retrieving a row form a table that I created in mysql db. I insert these values in the table 'Bell',password('123'). But the problem is in my php application I cant...
11
by: Kevin O'Brien | last post by:
Hello, I am creating a sign on screen for my application in which I want to store the username and password in a database table. I was thinking of putting a combo box connected to the database...
2
by: Jeff Williams | last post by:
I am developing an application which will allow users (students) to run applications on PC's with elevated rights. This is necessary for some applications which require Administrator rights on the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.