473,809 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1686
jn
"ElaK" <ws*****@median et.pl> wrote in message
news:c1******** *************** ***@posting.goo gle.com...
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************ *************** *****@jasonnorr is.net> wrote in message news:<74******* *************** @twister.tampab ay.rr.com>...
"ElaK" <ws*****@median et.pl> wrote in message
news:c1******** *************** ***@posting.goo gle.com...
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*****@median et.pl> wrote in message
news:c1******** *************** ***@posting.goo gle.com...
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
1994
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 accomplished with a local table containing two fields: the primary key value of the SQL table and a boolean field used for the check box. Since the local table used to contain the boolean field is local to the MDB file, the result is a heterogeneous...
10
12216
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 sender's IP. Using debug files on the server I see the server receive the request from my application on my machine and I see the server send to the correct IP and port of my machine, but the ReceiveFrom never returns with any data. If I have a...
1
8664
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 application polls for messages in 'B' and receives them successfully. Then, I moved the Windows Service to a remote machine and configured my application to send messages to a queue (say 'R') in that remote machine. I excpected the Windows...
5
3998
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 grid like this: private void Page_Load(object sender, System.EventArgs e) { BlogEntry entries = DataLayer.GetAllBlogEntries(); DataGrid1.DataSource = entries;
2
1161
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 have permission to debug the application. The URL for this project is in the Internet zone. Click Help for more information." However page with execute properly with debugging by pressing Ctrl + F5
8
1940
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 current date/time when the back-end file is compacted. I'm just looking for an easy way to determine when there has been a change to data in any table in the back-end file. Maybe something is updated in one of the system tables??
6
4658
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, SocketType.Raw, ProtocolType.Tcp); System.Net.Sockets.Socket remSocket = new System.Net.Sockets.Socket (AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.Tcp); locSocket.Bind (new IPEndPoint (locIP, 2126)); /*
0
3589
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 supposed to do the following: monitor ALL INCOMING TCP traffic on the local computer, and save certain parts of it as files - not log files though, but actual files that are sent to the computer as part of http or ftp. Basically if a user browse a page...
0
9603
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10640
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5550
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3015
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.