understanding password bz_crypt Hi all I am trying to understand how passwords are created and encrypted with a view to being able to decrypt them in .net. I found the following bit of documentation: sub bz_crypt ($) { 2 my ($password) = @_; 3 4 # The list of characters that can appear in a salt. Salts and hashes 5 # are both encoded as a sequence of characters from a set containing 6 # 64 characters, each one of which represents 6 bits of the salt/hash. 7 # The encoding is similar to BASE64, the difference being that the 8 # BASE64 plus sign (+) is replaced with ... password hashing and decrypt the password again Hi ALL, First I shoud encrypt a password and store it in my database(sql server 2000) and at a later time Decrypt the password using C#.net. If anyone knows about this problem.Please provide me your answers to how resolve this issue. Thanks, Ravi pagadala no need to decrypt the password,when user enters the password,again encrypt it and then match it just like strings,if it matches than user can login.... Amit Malhotrahttp://www.learnlinq.blogspot.com/... Password, Password, Password How can I login once per session and not have to reenter my root password every time I open YaST, etc. I believe in good security so I use strong passwords and I am also new to Linux which requires a lot of toying around so I have to enter my password over and over every session. -- OpenSourceRules ------------------------------------------------------------------------ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You could setup sudoers so you could call 'sudo /path/to/application' and have that NOT prompt you for a password. 'man sudoers' for more... decrypt the password using MD5 algorithm in .net hi,i encrypt my password using MD5 algorithm in .net. Now i decrypt my password using MD5?this is my code for encryptionMD5 Encryption*****************byte[] textBytes = System.Text.Encoding.Default.GetBytes(txtpwd.Text);try {System.Security.Cryptography.MD5CryptoServiceProvider cryptHandler;cryptHandler = new System.Security.Cryptography.MD5CryptoServiceProvider();byte[] hash = cryptHandler.ComputeHash (textBytes);string ret = ';foreach (byte a in hash) {if (a<16)ret += '0' + a.ToString ('x');elseret += a.ToString (&qu... Decryption algorithm from original password and encrypted password ? I have passwords encrypted in the database and I wanted to decrypt them. I know one password which is SRSSRS and the encrypted password in the database is e9830a5640f8ecbf6657f34a1b093f20e1bdd8e0Can someone tell me how I can decrypt the rest of the passwords ? These encrypted passwords were created by Ruby on Rails project and I am don't know that technology to debug and find out the encryption algorithm or the encryption keyThanks nobody is going to be able to give you the algorithm or key if you dont already know it. it's also likely that decryption will be impossible. w... Decrypt password using machine key and password salt I am looking for a method to decrypt a user's password. I store the password in the database in encrypted form by using a machine key specified in web.config. There is also a password salt field in the database. How can I decrypt a specific password if I have the key, password salt and encrypted password. The reason I want to do this is so that I can gain full access to a user's account if needed. I already setup for the user to be able to reset their password. If you configure the password to Encrypted in your membership tag. You cannot restore the password. Assuming that yo... How to Decrypt password Hi, I have encrypted the password using strpass = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(txtPassword.Text.Trim(),'SHA1'); Now because of some reason i want to decrypt the password . Is there any way to do this. No you can't. It's an one way hashing mechanisme what means that it only can create encrypted passwords. It will never Decrypt it. If you want to compare passwords you have to compare the encrypted ones.Richardhttp://www.richardsoeteman.net... Decrypt password for 'E-mail Password' module How-To? How to decrypt users password to send it to user in Enhanced IBS Portal? Please consider checking the forum or searching for a previous post covering the subject you are asking about prior to posting - it saves covering the same ground over and over Here are a few posts to help you out http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=409828 http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=273412 As you will see from the previous discussions - with the default Encryption (MD5) that MS used - it is not possible to decrypt the password - however - I have ... Decrypting Password Hi guys, i am new to asp.net and now having problem with decrypting i have encrypted my data(password) as follow Dim objByte() As Byte = New Byte(intSaltSize) {} objRng.GetBytes(objByte) Dim strSalt As String = Convert.ToBase64String(objByte) cmd.Parameters.Add('@Password', FormsAuthentication.HashPasswordForStoringInConfigFile(strSalt + Pass.Text, 'SHA1')) now i am trying to get the value of the pass.text back may any experts out there know how to do this? You need to read about how to hash passwords. Hashing is a one way algorithm that cannot... Decryption of password Hi, I'm trying to write a password retrieval page for forgotten passwords. Does anyone have any idea about decrypting the passwords as they are retrieved from the password table?ThanksAl Are you using the new Membership system? If so, there are two ways to store passwords in it: 1) 1 way hash encoded 2) Clear-text #1 is the default and definitely the best practice I'd recommend using. It means that once a user registers their password, it is hashed into a format that cannot ever be decyphered even if the database is hacked. This is much better for your users. With ... Decrypting Passwords I had to restore my nuke database from a backup and everything seems fine, the pages that I created are there as well as the modules I added, except that I can't seem to login with my host account password so I can do more development. I also tried the default password 'host' just to be sure it didn't reset it somehow but that doesn't work either as expected. When I look at the users table it has the accounts that I have created and more specifically the changes that I made to the host account (email address, name, etc.) but I can't see what password it has set because it is encrypte... VS.NET 2003 Project Templates for DotNetNuke from dnnjungle.vmasanas.net First, many thanks Vicenç Masanas for provide the free template. Your tool has help many of us to speedup the development effort.Questions:1. After install the template, there is option to generate DNN Module Communicator and DNN Module Listerner. Anyone try these? Any sample code to show how they suppose to work?2. There are CodeSmith template to generate Info, Controller, Data Provider, SQL DataProvider. These template go against table only. Is there away to generate code from a view or store procedure?It is a free tool so one should not ... decrypting a .NET v2.0 authentication cookie in .NET v1.1 have two web apps: App A is .NET v1.1 and App B is .NET v2.0 and is running in a virtual directory subfolder of App A. App B is being used to authenticate users. The plan is to share authentication across web apps accoridng to this article:ms-help://MS.NETFramework.v20.en/dv_aspnetcon/html/99e2f9e8-5b97-4a4d-a4ed-5f93276053b7.htmIn App A i have put some code to decrypt the cookie set by App B in the Application_AuthenticateRequest Method. When I go to decrypt the authentication ticket in App A, I get an error on decrypting the cookie -- the exce... Net::Telnet with username, no password Hello everyone, I'm trying to use Net::Telnet to connect to a server that has a test account called (appropriately) TEST. It has no password on doing a normal telnet to the server after supplying the username, I am taken to the shell rather than being prompted for my password. The prompt I'm given is: TEST F50:/genii4 $ Heres's the script I wrote: #!/usr/bin/perl -w # use strict; use Net::Telnet(); my $host = '172.16.1.2'; my $user = 'TEST'; my $pass = '; my $t = new Net::Telnet(Timeout => 30, Dump_Log => '/tmp...
Safely Storing User Passwords: Hashing vs. This is a one-way function in which a hashed value cannot be reversed to obtain the original input value (i.e., the password). Symmetric encryption is based on the use of an encryption key and is a reversible operation. Anyone possessing the key can decrypt an encrypted value to obtain the original value.
DNN 3.1.1 Login Error When I click Login in my main portal (portal ID 0), I get this error: A critical error has occurred. Object reference not set to an instance of an object. The portal used to work fine. Now this error occurs. Version: DNN version: 3.1.1 (upgraded from 3.0.13, but Login worked after the upgrade). What changed that may have caused this problem? Since the portal worked, I have not done any upgrades or module installs. I have only added a new parent portal and I may have deleted an old child portal (can't recall the timing). The 2nd parent portal (por... DNN 3.1.1 won't compile DNN 3.1.1 won't compile for me. I have seen numerous similar posts, but the build errors are not necessarily the same as mine. I downloaded the file DotNetNuke_3.1.1_Source.zip (7413 KB). I know how to fix a build error but I'm not sure what is the correct thing to do with a errors in the core product. My hosting company installed DNN for me and I don't want incompatibilities between my development DNN and the hosting DNN. I have VS.NET 2003 and would like to debug the solution. Here is one error. Let's use this an example of 'what to do'. I have 40 instances o... I'm using firefox 3.1 beta and Microsoft .NET Framwork Assistant 1.0 isn't compatible with it. Name: Michael Ternullo Email: ternullomichaelatyahoodotcom Product: Firefox Summary: I'm using firefox 3.1 beta and Microsoft .NET Framwork Assistant 1.0 isn't compatible with it. Comments: adobe flash player isn't compatable with mozilla 3.1 beta Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ... DNN 3.1.0 to DNN 3.1.1 Upgrade problems I'm did an upgrade, from DNN 3.1.0 to DNN 3.1.1All sites are downs.. I have a bunch of custom modules, and portals..I did the following when upgrading:backup filesystem + dbcopy old web.config to another location.copy install version of dnn over current installcopy machinekeys and sitesqlserver settings from old web.configand rename release.config to web.configbut i get the same errorAn error has occurred.An error has occurred.i got this as a link?..../Default.aspx?tabid=36&error=The+data+at+the+root+level+is+invalid.+Line+1%2c+position+1.&content=0Any help appreciated..thx th... HELP - 3.1.1 Went down Hi, We run DNN 3.1.1 for our company intranet. I am not aware of any changes on the server, but today it's not running anymore. This was upgraded a month ago (from DNN2) and has been running well ever since. Can anyone help me? I'm at a loss.... This is the error message that is displayed: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: ? Source Error: Line 256: ... Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! Have a look into this links http://en.wikipedia.org/wiki/.NET_Framework http://blogs.msdn.com/mohammadakif/archive/2006/12/03/net-3-0-different-versions-of-the-net-framework.aspx http://www.codeproject.com/aspnet/ComparisonASP1xASP20.aspAshok Rajawww.iGold.inDon't forget to click 'Mark as Answer' on the post that helped you. This credits that m... DNN 3.1.1 mostly doesn't send registration mail. Hi,I'm encountering some strange problem when sending mail from my portal. When users are registering (Private) they got an confirmation that their account will be checked by the portaladministrator. When the portaladministrator authorize this user there should be a mail sended, telling the user he can enter fully the portal. This mail is occaissionaly send, but mostly NOT. When the user cancel himself or when the administrator deletes his account the mail which have to be send is always send... Only that particular e-mailmessage gives a problem. When an user registering himself, the co... Migrating DNN 3.1.1. to use VS.net 2005 give errors I follow the Readme carefully extracting the DNN files, create the virtual directory, create the DotNetNuke database on SQL and editted the web.config file appropriatelyHere comes the problems: After I openend DotNetNuke.sln file, the VS.net 2005 migration wizard took me through the steps in upgrading my solution with the following errors ERROR: Unable to find codebehind file ~/admin/Containers/container.vb. ERROR : Unable to parse file portals_defaultcontainers_defaultno container.ascx. ERROR: Unable to find codebehind file ~/admin/Containers/container.vb. ERROR : Una... NAM 3.1.1 doesn't detect expired passwords properly I have two setups: Externally we're using iChain (in the process of replacing with NAM) Internally we're using NAM 3.1.1 eDirectory 8.8.5 in all cases with NMAS. Both iChain and NAM 3.1.1 are setup to use the PWM servlets by Jason Rivard. Both are using the SAME PWM server. The PWM version I'm using is a little old, but it's version 1.3.0 b734 Here's what happens: I go into consoleone and expire a users password (or test one that is expired). Wait a few minutes for it to sync through. If I login to iChain, on the FIRST login (we allow 6 grace log... Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2 Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0) With 2.0, there were many new declarative controls, with many new ideas added in With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would... DNN 3.1.1, why is it still using FTB 3.0.5000.1? The latest is 3.1.3300.0 Hi,My DNN 3.1.0 portal site has a fair share of Firefox users, and hyerplinks and emoticons does not work. I know DNN, even 3.1.1 is using the old FTB 3.0.5. Is there a reason for this and also when I swapped the FreeTextBox.DLL in my site it temporarily broke the installation. I guess I should rebuild them from the source project, if I want to go to that on my site.Is this correct?In general I think that Firefox support is going to become very important.Web Site: http://www.culturewave.net/portalThank you.Manabu TokunagaHome of The StokeCultureWave.NET StokePORTAL I know that the ftb3.0 d... Error after upgrade from 3.1.0 to 3.1.1 All, After upgrade my production server, I am encountering the following error: An error has occurred.DotNetNuke.Services.Exceptions.ModuleLoadException: There are multiple root elements. Line 46, position 5. ---> System.Xml.XmlException: There are multiple root elements. Line 46, position 5. at System.Xml.XmlTextReader.ParseRoot() at System.Xml.XmlTextReader.Read() at System.Xml.XmlValidatingReader.ReadNoCollectTextToken() at System.Xml.XmlValidatingReader.Read() at System.Xml.XmlLoader.LoadCurrentNode() at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)... Help!!! After upgrading DNN 2.1.2 to 3.1.1 FTB Error I keep on getting this error after upgrading a DNN 2.1.2 to DNN 3.1.1 (Windows 2k with SQL Server 2000). The Text/HTML module when in edit comes up with error as follws; Edit Text/HTML Basic Text Box Rich Text Editor An error has occurred.DotNetNuke.Services.Exceptions.ModuleLoadException: The data at the root level is invalid. Line 1, position 1. ---> System.Xml.XmlException: The data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReader.ParseRoot() at System.Xml.XmlTextReader.Read() at Sys... DNN 2.1.2 to 3.1.3 Upgrade Error Hello, the upgrade said it was successful and to click here to launch the portal. I did and received the following error message. Please help. Server Error in '/psg' Application. A column named 'SkinSrc' already belongs to this DataTable. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.DuplicateNameException: A column named 'SkinSrc' already belongs to this DataTable.Source Error: An unhandled e... Upgrade from 3.0.13 to 3.1.1 Login Error Just uploaded the 3.1.1 version to current 3.0.13 site. Changed the web.config file and ran the install.Preseted with home page and login module. Enter username and password for any user including admin and host and get a login error that says 'Login Failed, remember that Passwords are case sensitive.'Checked the database and the tables are good, but the login script just doesn't seem to be able to pull the data. Any suggestions? The instructions below are directly from the Install Documentation, page9, for an upgrade. I followed the steps exactly and had no proble...