Hi all,
wuold it be possible to read the userinformation from a machine?
I am trying to create a database application and would like only certain
(logged on to the network) users, to have access in write mode.
So.... is there an environment variable I can read from the "user's"
workstation and then determine if he or she has logged on successfully?
I know this is not serverside information, but still....would like to know
if someone tried this with success.
Regards,
Michel 4 1706
michel wrote: Hi all,
wuold it be possible to read the userinformation from a machine?
I am trying to create a database application and would like only certain (logged on to the network) users, to have access in write mode.
So.... is there an environment variable I can read from the "user's" workstation and then determine if he or she has logged on successfully?
I know this is not serverside information, but still....would like to know if someone tried this with success.
php can't see things like that, but there's an Apache module to
authenticate against the user's NT domain logon http://freshmeat.net/projects/mod_ntlm
> > wuold it be possible to read the userinformation from a machine? I am trying to create a database application and would like only certain (logged on to the network) users, to have access in write mode.
So.... is there an environment variable I can read from the "user's" workstation and then determine if he or she has logged on successfully?
I know this is not serverside information, but still....would like to
know if someone tried this with success.
php can't see things like that, but there's an Apache module to authenticate against the user's NT domain logon
http://freshmeat.net/projects/mod_ntlm
This is true, but there is a caveat:
First, mod_ntml assumes that you are using *nix to run your web server on.
If you are using Windows for the web server, this is not going to happen.
If you are using IIS, you can set that to provide the user name for you. If
you are using IE, you will want to make sure that integrated authentication
is on.
Good luck!
david
thanks for these additional remarks and sorry for not sharing system info
earlier:
I am running windows 2000, apache/php (phpdev build on development server)
Ideas?
tha,
Mich
"david" <someone> wrote in message news:c1*********@enews3.newsguy.com... wuold it be possible to read the userinformation from a machine?
I am trying to create a database application and would like only
certain (logged on to the network) users, to have access in write mode.
So.... is there an environment variable I can read from the "user's" workstation and then determine if he or she has logged on
successfully? I know this is not serverside information, but still....would like to know if someone tried this with success. php can't see things like that, but there's an Apache module to authenticate against the user's NT domain logon
http://freshmeat.net/projects/mod_ntlm
This is true, but there is a caveat:
First, mod_ntml assumes that you are using *nix to run your web server on. If you are using Windows for the web server, this is not going to happen.
If you are using IIS, you can set that to provide the user name for you.
If you are using IE, you will want to make sure that integrated
authentication is on.
Good luck! david
"michel" <no@spam.please> wrote in message
news:c1**********@news.cistron.nl... thanks for these additional remarks and sorry for not sharing system info earlier:
I am running windows 2000, apache/php (phpdev build on development server) Ideas?
tha, Mich
"david" <someone> wrote in message news:c1*********@enews3.newsguy.com... > wuold it be possible to read the userinformation from a machine? > > I am trying to create a database application and would like only certain > (logged on to the network) users, to have access in write mode. > > So.... is there an environment variable I can read from the "user's" > workstation and then determine if he or she has logged on successfully? > > I know this is not serverside information, but still....would like
to know > if someone tried this with success. > php can't see things like that, but there's an Apache module to authenticate against the user's NT domain logon
http://freshmeat.net/projects/mod_ntlm
This is true, but there is a caveat:
First, mod_ntml assumes that you are using *nix to run your web server
on. If you are using Windows for the web server, this is not going to
happen. If you are using IIS, you can set that to provide the user name for you.
If you are using IE, you will want to make sure that integrated authentication is on.
I have this exact same problem on roughly the same environment. I have
chased my tail on this for weeks, and have not found a solution that is
acceptable.
In another newsgroup, the suggestion was made to start explorer from a bat
file and pass in the user name. This may work for you, but does not work for
me.
There is another Apache module, auth_sspi, which will authorize and do
exactly what you want it to, except that it only works on the web server
users. So, if you have the web server and all your users on it (I hope not),
you are in business.
Other than that, I am out of ideas.
david This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gunnar |
last post by:
Hello, I've just written a CPP program that reads integers from a
binary file, and used this code
while (my_ifstram.read( (char* ) &number, sizeof(int))
{
// do something with number
}
My...
|
by: Markus Breuer |
last post by:
I have a question about oracle commit and transactions. Following scenario:
Process A performs a single sql-INSERT into a table and commits the
transaction. Then he informs process B (ipc) to...
|
by: Steven T. Hatton |
last post by:
I know of a least one person who believes std::ifstream::read() and
std::ofstream::write() are "mistakes". They seem to do the job I want
done. What's wrong with them. This is the code I...
|
by: Sandman |
last post by:
Just looking for suggestion on how to do this in my Web application.
The goal is to keep track of what a user has and hasn't read and present him or
her with new material
I am currently doing...
|
by: Ollie Cook |
last post by:
Hi,
I am having some difficulty with read(2) and interrupting signals. I
expect I am misunderstanding how the two work together, so would
appreciate some guidance.
I am trying to 'time out' a...
|
by: BBM |
last post by:
I have an object that has a fairly complex construction sequence, so I have
written a dedicated "factory" class that invokes the constructor of my object
class (which does nothing but instantiate...
|
by: a |
last post by:
I have a struct to write to a file
struct _structA{
long x;
int y;
float z;
}
struct _structA A;
//file open
write(fd,A,sizeof(_structA));
//file close
|
by: Jose Reckoner |
last post by:
I'm running python 2.3 on Windows XP. Anyone have a quick small script
to convert .DT1 and .DEM data to ASCII or some other format? I don't
need a viewer.
Thanks!
|
by: phplasma |
last post by:
Hey,
I am currently attempting to implement a multi-threaded C# socket,
using SSL (.pem file/certification/private key combo) server using
Visual Studio C# Express.
I have successfully made...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |