473,509 Members | 2,918 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Password/Logon Field and "Encryption"

365 Contributor
Hello to all,

im bored and like to waste time doing silly things that are not really neccessary...

i am however tying to complete a Holiday database for my Boss... looking for sum brownie points tehe

so what i have so far is a logon form, straight forward and boring, does username match the list and the password match that stored, one thing i noticed is that the password match is not case sensitive.... so HeLlO would match hello/hElLo basically, is there a way to improve this? at the mo i am comparing the textbox string to a dlookup string.

my second waste of time is that i want to "encrypt" the passwords...(no real reason to cos i intend on splitting the db but like i said... im bored)

so i can use this

Pass = me!passwordfield
Pass = Replace(pass,"a","b")
Pass = Replace(pass,"b","c")

etc etc, that obviosly switches the letters about etc, but i would need a lot of lines of code to do the whole alphabet and numbers etc... and if i duplicate retirn letters it might mess up, so without carefull planning then my encryptyion would just mess things up (but work all the same)

what i wonder is if there is an easier way...

Thanks for your time... bet you are all bored too now!
Dec 12 '07 #1
2 2164
Dököll
2,364 Recognized Expert Top Contributor
Hello to all,

im bored and like to waste time doing silly things that are not really neccessary...

i am however tying to complete a Holiday database for my Boss... looking for sum brownie points tehe

so what i have so far is a logon form, straight forward and boring, does username match the list and the password match that stored, one thing i noticed is that the password match is not case sensitive.... so HeLlO would match hello/hElLo basically, is there a way to improve this? at the mo i am comparing the textbox string to a dlookup string.

my second waste of time is that i want to "encrypt" the passwords...(no real reason to cos i intend on splitting the db but like i said... im bored)

so i can use this

Pass = me!passwordfield
Pass = Replace(pass,"a","b")
Pass = Replace(pass,"b","c")

etc etc, that obviosly switches the letters about etc, but i would need a lot of lines of code to do the whole alphabet and numbers etc... and if i duplicate retirn letters it might mess up, so without carefull planning then my encryptyion would just mess things up (but work all the same)

what i wonder is if there is an easier way...

Thanks for your time... bet you are all bored too now!
Hello, Dan2kx!

Nice pleasing the boss, isn't it? Your password form should not allow that happen, you may need to see if you do not have the fields set to autocorrect, please forgive me I am also new at this.

I believe there's a way to get Access to dramatically correct as we type, and so on, this may be what is happneing.

How 'bout checking on that and see what you have?

In a bit!
Dec 13 '07 #2
NeoPa
32,557 Recognized Expert Moderator MVP
I have a VERY rudimentary encryption routine I use in Access.
Expand|Select|Wrap|Line Numbers
  1. 'If I told you what this did I'd have to kill you.
  2. Public Function Scramble(strPW As String)
  3.   Dim intIdx As Integer
  4.  
  5.   Scramble = strPW
  6.   For intIdx = 1 To Len(strPW)
  7.     Mid(Scramble, intIdx, 1) = _
  8.       Chr(&H40 Or (Not Asc(Mid(strPW, intIdx, 1))) And &H3F)
  9.   Next intIdx
  10. End Function
Dec 13 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
2730
by: Tino Lange | last post by:
Hi! I identified a bottleneck in my programs. I just want to "encrypt" data by easy xoring. Ok - that's no encryption at all - I know. But it's hardly readable - and that's enough :-) Just...
6
2813
by: cppdev | last post by:
Hi All! I want to clear the string contents from sensitive information such as passwords, and etc. It's always a case that password will appear as string at some point or another. And i feel...
1
3320
by: twhan twhan via .NET 247 | last post by:
Hi, currently i am developing a Radius server application. Cananyone show me how can i unpack the "User-Password" attribute sothat i can get back the password in plain text so that i canverify it...
2
1546
by: Brian Genisio | last post by:
Hi all, So, IE has a code obfuscation method that is specific to IE. I have read that it has been easily decrypted. Has the decryption for this method been published anywhere? Is it legal to...
7
17858
by: Dica | last post by:
i've used the sample code from msdn to create an encyption/decryption assembly as found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp i'm...
5
1377
by: Leon | last post by:
How can I encrypted data sent across my website from web forms without using SSL? Such as on Login the user enter "EmailAddress" & "Password" and Simply Registration Form in which the user...
2
3283
by: Jeff_Mac | last post by:
Hi there. I'm a bit of a newbie, and I would appreciate any help that anyone can give me on an error I'm getting with Crystal Reports. Every time I attempt to view a report using the Crystal...
3
3751
by: Benny Ng | last post by:
Dear all, The following is the source. The password is encrypted and saved into the Binary in SQL2K. Now I want to create a new page to compare the existed password and the password that in the...
0
1278
by: Spiffytech | last post by:
I'm trying to retrieve emails via the POP3 protocol from a Windows 2003 POP3 Server. I get a positive response from the server when sending all the commands until the "PASS" command. When I send...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7073
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1571
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.