473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Receiving back message from local PC. How to do?

Hello all,
I have the case I need to solve in PHP with Hasp keys.
I need to keep an authentication via Hasp key attached to port
‘lpt’ on client PC.
My question is how to do via I.E.
I wonder if PHP API can check the key ID on client PC and send it back
to the server?
Any suggestions more then welcome...
Grzegorz
Jul 17 '05 #1
3 1669
jn
"ElaK" <ws*****@medianet.pl> wrote in message
news:c1**************************@posting.google.c om...
Hello all,
I have the case I need to solve in PHP with Hasp keys.
I need to keep an authentication via Hasp key attached to port
‘lpt’ on client PC.
My question is how to do via I.E.
I wonder if PHP API can check the key ID on client PC and send it back
to the server?
Any suggestions more then welcome...
Grzegorz


I'm not sure what key you are trying to use, but maybe you can use
JavaScript to get the info from the client and send it to your PHP script.
Jul 17 '05 #2
"jn" <us********************************@jasonnorris.ne t> wrote in message news:<74**********************@twister.tampabay.rr .com>...
"ElaK" <ws*****@medianet.pl> wrote in message
news:c1**************************@posting.google.c om...
Hello all,
I have the case I need to solve in PHP with Hasp keys.
I need to keep an authentication via Hasp key attached to port
‘lpt’ on client PC.
My question is how to do via I.E.
I wonder if PHP API can check the key ID on client PC and send it back
to the server?
Any suggestions more then welcome...
Grzegorz


I'm not sure what key you are trying to use, but maybe you can use
JavaScript to get the info from the client and send it to your PHP script.


I am using HASP TIME keys on LPT and USB ports.
Does Java has more functionality than PHP in this particular case?
G.
Jul 17 '05 #3
"ElaK" <ws*****@medianet.pl> wrote in message
news:c1**************************@posting.google.c om...
Hello all,
I have the case I need to solve in PHP with Hasp keys.
I need to keep an authentication via Hasp key attached to port
‘lpt’ on client PC.
My question is how to do via I.E.
I wonder if PHP API can check the key ID on client PC and send it back
to the server?
Any suggestions more then welcome...
Grzegorz

Not sure I understand you, is you question:

Can server side PHP check a HASP device over the internt on a client PC
runing Internet Explorer?

Short answer, NO

However it is possible to retrieve the HASP key, Since there is a HASP
device, there is a great chance you are locking them into a system, so why
not lock them into Internet Explorer as well, just create an Active-X object
that will sit on a web page. The Active-X object has full controll of the
client system, thus it can interact with the Windows API. HAve the Active-X
object read the HASP, and forward it to your PHP script via a http call.

Warning though, anyone with a packet sniffer will be able to see the info,
so it is best you encrypt it on the cleint side before sending, also, change
the encryption to a random one each time it is run to prevent someone from
just capturing the enctyped key.

Example, I did some security testing for Monster.com, and they were setting
an encypted session cookie, well, wrote an app that would send the encytped
cookie back, and never let in expire, then I had full access 100% of the
time even with an expired account.

--
Mike Bradley
http://www.gzentools.com -- free online php tools
Jul 17 '05 #4

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

Similar topics

18
by: Neil | last post by:
I am using SQL 7 with an MS Access 2000 MDB front end, using bound forms with ODBC linked tables. In one form, the user needs to be able to check a box to select one or more records. This is...
10
by: Jim H | last post by:
I have a UDP socket that sends out a request on a multicast socket and waits for a response. This client is not listening on a multicast IP but the local IP. The server (UNIX) responds to the...
1
by: Kishore Gopalan | last post by:
Hi, I have a strange trouble. My application sends messages to a local MSMQ Queue (say 'A') and I use a listener (a windows service) to move the messages to another local queue (say 'B') and my...
5
by: Christian Hvid | last post by:
What is the easiest way to get the "row object" or "item object" when a datagrid is clicked? I have web form with a datagrid. And I have an array of something called BlogEntry that I bind to the...
2
by: zoneal | last post by:
Hello there, I am receiving following error in Visual Studio .Net while compiling page with F5. "Error while trying to run project: Unable to start debugging on the web server. You do not...
8
by: rdemyan via AccessMonster.com | last post by:
Anyone have any ideas on how to determine when the back-end file (containing only tables) has been updated with new data. The date/time of the file won't work because it gets updated to the...
6
by: White Spirit | last post by:
I have the following code to send a packet to a remote socket and receive a response in return: System.Net.Sockets.Socket locSocket = new System.Net.Sockets.Socket (AddressFamily.InterNetwork,...
0
by: george585 | last post by:
Hello! I am new to network programming, and understand just basics. Using some sample code, and having read documentation, I managed to create a simple app in C# and VB.NET. The application is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.