Make Joomla Authentication For Software?
Jan 27, 2012I want to make joomla authentication for my software I have Tried but i couldn't make it work
My Code:
<Removed>
Website Source:
<Removed>
I want to make joomla authentication for my software I have Tried but i couldn't make it work
My Code:
<Removed>
Website Source:
<Removed>
I have managed to successfully connect remotely to the MySQL database for my Joomla! 1.5 website using MySqlConnector in Visual Basic .NET 2010. Now I am trying to authenticate a user's password from values submitted in a simple form to those retrieved from a MySQL query.
I found a useful thread on forums.joomla.org titled "Joomla password MD5 & VB.NET MD5", but the code snippets there produce the incorrect hash.Here is another useful Joomla Forums thread as to how passwords are encrypted (using MD5 hash and "salt") in the Joomla DB.
[Code]...
i am trying to make an application that post data to a joomla login page but the only thing i get back is cookies is not enabled.
Function GetPage(ByVal Url As String) As String
Dim CookieJar As New Net.CookieContainer
Dim enc As Encoding = Encoding.GetEncoding(1252)
Dim Data As Byte() = Nothing
[code]....
as topic, i need to send an e-mail without outgoing authentication becouse server hasn't outgoing authentication.. how i can do this??
View 1 Replieshow to attach php web pages to joomla.Actualy i designed web pages with home page by using Dreamviewr...now im not able to attach those web pages to joomla.
View 2 RepliesI know this is a stretch, but I am looking for some .NET help with checking Joomla passwords.For those not familiar with Joomla password scheme, it looks like this: {MD5Hash}:{SALT}HEre is the code I am using:Joomla password:
9322a02004887255b76a6a8e8971aea7:5JTTaPQjA88247nCKkTILtv8TXFtZCED
User submitted password: 123456
Dim m5t() As String = dr("password").split(":") // splict Joomla password
[code].....
I have a vb.net web application running on a local server with IIS6 installed. I was using Integrated Windows authentication for allowing uses to access the data in the application which is a combination of flat files on a local directory and db information. That worked great until another dataset was brought online and incorperated into the existing application. The problem is the flatfiles for the second dataset are stored on another server. So, although user could see the file files in the application window, if they attempted to open one it would say access denied on the directory.
I explained this to our network administrator who explained the users didn't have access to that server (even though both servers had the same permissions) and that the application wouldn't work. The only way in which I got it to work was I had to
Enable Anonymous access and use a windows user account for that access, which works. However, the application requires the users NT account for various reasons. How can I get this to work with Integrated Windows Authentication?
When I try to use Windows auth, the pop-up tells me: X website required login for Y domain.How can I hide the website name? And only show "You are required to login first" text on that pop-up?
View 2 RepliesI have a .NET application (mix of C# and VB.NET) where I would like to display a Windows Login Dialog box (or my own dialog box) and authenticate the user using Windows Authentication. Per requirement, I need to ask the user to authenticate after AT LEAST a minute of being idle. I would prefer a .NET native way of doing Windows Authentication but interested in other ways...
View 2 RepliesThe following code works when I run the project exe with admin credntials. How could I pass the credentials in the code?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim HN As String = Me.TB_HN.Text
[code].....
The user must submit his username and password. After 3 unsucessful trials, the program must terminate. It is required that I use the for loop structure. I don't know if i'm making it right. Here's the code I've done :
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim c, d, f, g As String
Dim a As Integer
[code]....
I have a LDAP Server ("Test.dir.svc.mytest.com") and i want to check if an user with UID a PWD is certified. How to do it?
View 5 Replieshow to use Windows Authentication in a WPF app. I wouldn't have thought that it would be any different than in any non-WPF app, but it seems that it is. I want to go into my project Properties -> Application and ensure that Windows Authentication is on, but that option is not available in a WPF app (as the following document confirms).
[URL]
If I ignore all that and just look at My.User.Name (VB), it is empty. This tells me that somehow Windows Authentication is not enabled.My plan is to use a PrincipalPermission attribute to restrict access to certain parts of my app (or perhaps the entire app, by applying it to Application_Startup()).
I want to use windows authentication in my c-sharp desktop application.where I cloud use windows create new users service and allocate local storage space.
View 1 RepliesI have a application that prints labels on a community computer.I would like to add a Windows authentication login form to allow any of our employees to access a configuration screen.The request would bring up the login form if the login passed (meaning the username / password was correct) the configuration form would open.Otherwise the user would just get a warning Msgbox.So far all of the examples I could find either apply ASP.NET or use the logged-in user. Not for additional access as I'm trying to do.
View 7 RepliesI'm writing an internal web application right now (with ASP.Net Web Forms), and it presents an odd problem. I have to be able to impersonate the currently logged in windows user, and execute a command based on their Windows Authentication to log in.. AND ... if they don't have Windows Authentication set up in the application I have to use to log them in, I have to be able to accept a user name and password. I also have to write the application in .Net 4.0, and secure it as much as possible. I got this to work by NOT utilizing Windows Authentication or Forms Authentication in the web.config, and instead setting session variables to guard against user accessing pages in the web app other that the log in. I did this by creating an oddly name session variable with a value based on their user name (windows auth or not), and then a secret session variable. The secret variable is in the web.config as a 256bit encrypted string, in which I decrypt, and set as the session secret. In order for the page to load, the first session variable can't be blank, and the second variable has to equal the decrypted key value... if the variables don't pass inspection, it redirects them to the login page. I set this up on every page, generic handler, and webservice method in the web app. I make the session timeout after a few minutes of no activity, and on log out, I set all session variables to nothing, and expire all cookies. (I also disable all cache).
My question is... Does this offer comparable security to that of Forms authentication? I have always used Forms authentication, but can't use it here. If I did, the users would have to reconfigure settings in IIS and in he web.config to toggle login procedures (From my knowledge, you can't use both Forms authentication, and windows authentication to manage the security of your pages and other web resources). With the method described above, I can accomplish the best of both worlds, but am curious about the security of my methods. Is there anything else I can implement here to assure the utmost security other that using forms authentication? Is it possible to accomplish the same level of security of Forms authentication without using it?
I am working on a windows application and I am developing application using VB.Net. I want to create one form for Username and password and I want to create a table in database which will contain all the user details with UID and Password. So I am planning to use either Windows authentication or SQL authentication on database side for allowing user to connect database with my application But I am curious to know the best practices which are widely used across. Can anyone share the blogs,articles or your own experiences.
View 10 RepliesI write a dll some time ago that authenicated with a Windows Server 2003 Domain controller. Every thing worked fine. The IS group upgraded the domain controllers to Windows Server2008 R2 this weekend, now I can not authenicat anymore. It seems to have the correct LDAP path, when I get to the function that does the check for the user name i get the following error.
?_dsEntry.NativeObject
A first chance exception of type 'System.DirectoryServices.DirectoryServicesCOMException' occurred in System.DirectoryServices.dll
{"Logon failure: unknown user name or bad password.
"}
[code]....
I am currently developing an application in VB.net that opens up a web document via Web Browser Control, parses the HTML, and sends back the data I need. This is not a problem.However, one of the sites requires basic authorization to access. I know the following code will workThe dialog box will come up with in the User Name box, but the window focus will be on the password box.
View 3 RepliesIf I wanted to make sure that AUTHENTICATED users were denied access to Enroll.aspx and UNAUTHENTICATED users had access how should my "allow/deny users" tags be set in the web.config?[code]......
View 2 RepliesI am trying to login to a webpage to parse data out of it etc. but the website I want to access requires authentication. I don't know how to do this with code. I have seen other threads that kind of tell you how to do this but those had the authentication boxes inside the actually the page on the web site I want to access it is in a pop up box so I can't see the source code for it.
View 8 RepliesI need to connect to a sql server as a specific user regardless of who is logged in on the pc where the program is running.
[Code]...
gives me "Login failed for user ACMEinvoicing" which is who I want to log in as. I'd think that the problem is the login except that I can right click SQL Server Management Studio and select Run As/The following user and enter ACMEinvoicing and password and it opens up allows me to connect to report server and shows me connect as ACMEinvoicing and allows me to run everything I need to. From within code how do I connect to the sql server reportserver as someone other than who is logged in?
I thought I had the command correct, but I wanted to make sure since I fail to connect in my app. Here is the connection command I use:New SqlConnection("Server=TestServer;Database=MasterDB;Integrated Security=SSPI")I have verified the server name, DB name, and that the server is using windows authentication.
View 1 RepliesOn the server, I get my current logged-in username, but from a remote client I get server name/administrator.
Below is the code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Grab username from Windows Authentication, remove the 'HHI', and assign to empName
'empname = Replace(HttpContext.Current.User.Identity.Name.ToUpper, "HHI", "")
'empname = Replace(Page.User.Identity.Name, "HHI", "")
[code]....
I've tried Application Pools with 'Network Service', with Named Accounts and setting the pipeline mode to 'Integrated' and 'Classic'. The above code works properly in Server 2003/IIS6, but I haven't been able to make it work on Windows Server 2008R2/IIS 7.5.
I've got an app on server 1 that's attempting to copy files from server 2. Server 1 is 'quarantined' from the rest of the local network for security reasons, but the network guy has made a couple of server 1 directories available to server 1 via IP. Thus, in my VB.NET app on server 1 I am trying to do this:
Code:dim filearr as string()filearr = System.IO.Directory.GetFiles("\10.0.0.21packinglists", "*.pdf")
However, I want my app to run unattended and 10.0.0.21 requires a login and password. Can I configure a connection string or something to provide hands-off authentication?
Using the following code to sucessfully send email via my provider Verizon. Problem now that they are changing their smtp port to 465, using connection security of SSL/TLS and an authentication encripted password. One thread, a bit over my head technically, [URL].. may indicate that this cannot be handled by the smtpclient - certainly hope that is not the case.l Dim mailSmtp As New System.Net.Mail.SmtpClient
Private Sub PrepSendSMTPInfo()
mailSmtp.DeliveryMethod = Net.Mail.SmtpDeliveryMethod.Network
mailSmtp.Host = "outgoing.verizon.net"
mailSmtp.Port = 587
[Code]...
Have change port to 465 and added mailSmtp.EnableSsl = True but now just hangs without even returning an error upon attempt to send.
My organisation has re-created some SQL test databases, and only enabled Windows Authentication -no problemThey have then created a local accounts on the server, and given them read or write rights to the database.How can i connect to the database in visual basic. I can't use SQL authentication as there is no account,and i can't use windows authentication as only one account has read rights ont the databse. I have tried an sql connection string
myConnection = New SqlConnection("Server=<servername>;Database=<databasename>;UID=<servername><serveraccount>;PWD=<password>"
and it doesn't work. I'm starting to thing our entire SQL authentication model is wrong!
I'm trying to follow this example to access Twitter Stream API(userstream) so I need to do some modifications and this is my final code:
[Code]...
a WindowsForm application and I need a code to check target's machine installed version of DirectX.If the reg key doesn't match with provided one >>> load the form and launch the DX installer "redistdirectx_Jun2010_redistDXSETUP.exe"If the reg key matches with the provided one >>> launch other application "Setup.exe"
View 6 RepliesI buit a ASP page that gets the users information who is logged into the computer ie username etc. This was using IIS6 Now I've moved over to IIS7 on Server 08, I set it up to use "Widows Authentication", however when i run my ASP.NET Page it uses the account NT AUTHORITYNETWORK SERVICE to do its work.Ive looked all over online, and cant find a way to fix this.I just want to pass the user credetials from logging into the computer, to the web.I've made sure that I have this in my web.config
<authentication mode="Windows"/>
<identity impersonate="true"/>
When I run this the site from Visual Web Developer and it creates the site, it pulls back the correct information.However, when I Then to my browser and check this and it dosent pull back the correct account, it pulls back that NT account.etc. but it always seems to pass the same wrong account NT AUTHORITYNETWORK SERVICE it should be my accountname I am logged in with.