|
Hello,
I am engg. student, need to work on a mini-project which will restrict user from accessing Internet from a LAN without getting authenticated by means of username,password. Please help me out in develping this system,atleast give some idea about it.....please reply soon its very urgent.
Thank you in advance.
|
|
|
|
|
What's your idea here? I don't really understand... you want to restrict access without authentication? from a web page? what's your plan to authenticate? active directory?
daniero
|
|
|
|
|
yes,you got my idea right. I want to restrict users from accesing any website(webpages)tobe accessed without authentication. Please reply.
|
|
|
|
|
i tried forward to all incoming packets using JPCAP.But it only forwards IP addressed of local n/w like 192.168.*.* or 172.*.*.*.But the packets for TCP request after DNS name resolution does not contain local IP address as they are not physically connected.So am i using wrong libraries or such thing. Please let me inform as quickly as possible.
this is the part of the code:
ip.setIPv4Parameter(priority, d_flag, t_flag, r_flag, rsv_tos, rsv_frag, dont_frag, more_frag, offset, ident, ttl, protocol, src, dst) ;
System.out.println ("Sending");
ip.data=packet.data;
ip.datalink=e;
try {
System.out.println (ip.dst_ip);
sender.sendPacket(ip);
System.out.println ("Sent");
|
|
|
|
|
I don't really know about network programming... sorry
daniero
|
|
|
|
|
I think that you will find a proxy server and tight firewall the easiest implementation. Set the firewall's rules so that no outgoing traffic gets through unless it comes from the proxy server. Then, set up the proxy server to require authentication.
Traffic does not get through:
Client <-X-> Firewall
Traffic gets through:
Client <---> Proxy Server <---> Firewall <---> Internet
I've never done this in a Windows environment, so you'll have to do that research by yourself.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
SERIOUS... Lost all my sites.
I have been working on a few ACCESS DATABASE websites and all was working fine....TILL NOW. All of my sites on my local machine is giving me exactly the same error when ever I try to access my ACCESS DBs. All different sites, all with different databases.... What is going on. .PLEASE. Here is the error. This funnely enough happened just after I did an ASPX page connection to an Access DB and from there on all my ASP page connections to ANY OTHER DB in ANY of my other sites fell over.. DISASTEROUS. PS Working in Dreamweaver MX.
The part that bothers me is "Operation must use an updateable query."
FULL ERROR.
-----------------
Please try the following:
• Click the Refresh button, or try again later.
• Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
________________________________________
Technical Information (for support personnel)
• Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/gkd/CandidateScoreWOL.asp, line 111
• Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
• Page:
POST 195 bytes to /gkd/CandidateScoreWOL.asp
• POST Data:
cWORK=6&cPARTNER=0&cCHILDREN=0&cFAMILY=0&cRELIGION=0&cHOBBIES1=0&cHOBBIES2=0&cHEALTH=0&cSPORT1=0&cSPORT2=0&cFINANCIALINDEPENDANCE=0&cOTHER1=0&cOTHER2=0&Submit=Submit&MM_update=form1&MM_recordId=1
• Time:
Monday, January 09, 2006, 1:37:56 PM
• More information:
Microsoft Support
----------------------------------------------------
this is me
|
|
|
|
|
The error message means that the user account used for running the asp code doesn't have write permission to the database file.
Check in the properties for the web site, what user account is used for anonymous access (installing .NET might change this), then check the permissions on the database file for that account.
---
b { font-weight: normal; }
|
|
|
|
|
I am using XP... HOW do I do this... I have checked and my IIS is using IUSER_ what ever as the authentication user account but how do I check my files to see that they also have this?? Sorry sounds dumb I am sure.. PLEASE HELP... And YES it all happened after I installed .NET Framework. DAMN why don't they TELL you this will happen when you install it. THANKS for the feedback thus far.
this is me
|
|
|
|
|
I have got .NET and my IIS running on a XP machine. WHERE do I check my security on the FILES. In IIS it is using the IUSER_ what ever account to gain access...
Thanks for the help thus far, I just need to know now WHERE to check and HOW to check all this. THANKS FOR A GR8 WEBSITE AND EXTREMELY HELPFULL AND QUICK SUPPORT.
Why don't they tell you .NET Framework will MURDER all your sites...
this is me
|
|
|
|
|
Why do you post two different replies with the same contents? And why oh WHY do you CAPITALIZE every other WORD that YOU are WRITING?
Right click on the file in explorer and open the properties for the file. Go to the security tab. There you will see the accounts that have permissions set for the file.
---
b { font-weight: normal; }
|
|
|
|
|
I have a control in bootom of a page. when i click it, it shows some menu. But this menu n control both gets hidden or not clearly visible in that page.
How can i control it.
|
|
|
|
|
what control you are using, plz specific, Is it long loaded List.
whats ur question actually
Any systematic work reflects its significance for a long time, Though I m not totally against "The Prototyping".So let's discuss in depth...
|
|
|
|
|
Hi web developers,
When I go to a web page that has HTML form, the form is submitted to a script, lets say 'login.cgi'.
The problem is: how can I download the script??? I want the code in the script... I tried many things but I always see HTTP 404, Not found.
You are the masters of tricks. so Any trick to download cgi scripts from a webserver???
Thanx,
Mohammad
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Please don't double post. Also don't ask questions about hacking servers.
---
b { font-weight: normal; }
|
|
|
|
|
Problem - I have some corporate software that I have hosted on my website in a subfolder. I know the links so I just type it when I need to download it.
I am looking for a script (or something) where I had a super simple login page (authenticate to xml or to small mssql db), that would look at the dir it was installed in, show a list files with clickable links. Maybe an upload feature...
Anyone know of anything?
Thanks in Advance,
ATM
ATM
|
|
|
|
|
Sounds pretty easy to write to me. You just return a list of names and paths, and create a list of links from it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Indeed, I am seeking a simple solution.
Here is a bloated solution - http://www.iisworks.com/fileman/
My question was mainly directed towards the group and if they knew of anything floating around out there.... but if I need it to be built, are there any takers?
Thanks,
ATM
|
|
|
|
|
Try http://quixplorer.sourceforge.net/ or just google for 'PHP File Manager' or whatever language you prefer
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
I'm looking for an asp based script/app
TY for the post though....
|
|
|
|
|
The simple solution might be to allow directory listing for that folder, and possibly password protect the folder.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
Hi,
I have a website, like:
/myfolder/
/
I put all my files in myfolder. I have no idea what is in the parent folder.
I create a global.asa in root folder, I put
session.timeout=45
in session start sub.
And this doesn't work for me.
I also put session.timeout at the begining of every asp file.
it doesn't work either.
I try to put the global.asa in "myfolder", it doesn't work either!!
I really have no idea what is wrong with it!
Please help me out of the question!!!
Thanks a lot in advance!!
Alan
Alan Shen
MCAD for .NET Version
^~^~^~^~^~^~^~^~^~^~^
Great idea is the beginging of success!
|
|
|
|
|
Hello!
I am developing a cutom module in DotNetNuke.
I have written the correct NameSpace and Assemblyname but I
just keep getting this error in Visual Studio.
Errormessage:
"An unhandled exception of type 'System.MemberAccessException' ocurred
in mscorib.dll
Additional information: Cannot Create an abstract class."
Exception:
System.TypeInitializationException
----Inner exception: System.MemberAccessException
----Message: "Cannot create an abstract class."
----Source: mscorlib
Code:
Imports System<br />
Imports System.Web.Caching<br />
Imports System.Reflection<br />
<br />
Namespace INVID.DNN.Modules.HelloWorld.Data<br />
<br />
Public MustInherit Class DataProvider<br />
<br />
#Region "Shared/Static Methods"<br />
' singleton reference to the instantiated object<br />
Private Shared objProvider As DataProvider = Nothing<br />
<br />
' constructor<br />
Shared Sub New()<br />
CreateProvider()<br />
End Sub<br />
<br />
' dynamically create provider<br />
' This sub gets called, It is calling the methods that will raise the exception<br />
Private Shared Sub CreateProvider()<br />
objProvider = CType(Framework.Reflection.CreateObject( _<br />
"data", _<br />
"INVID.DNN.Modules.HelloWorld.Data", _<br />
"INVID.DNN.Modules.HelloWorld"), DataProvider)<br />
End Sub<br />
<br />
' return the provider<br />
Public Shared Shadows Function Instance() As DataProvider<br />
Return objProvider<br />
End Function<br />
#End Region<br />
End Class<br />
End Namespace
Code that is called in (The Step were it goes wrong) Components\Shared\Reflection.vb:
' dynamically create an object from a TypeName using a CacheKey<br />
Public Shared Function CreateObject(ByVal TypeName As String, _<br />
ByVal CacheKey As String) As Object<br />
<br />
If CacheKey = "" Then<br />
CacheKey = TypeName<br />
End If<br />
<br />
' use the cache for performance<br />
Dim objType As Type = CType(DataCache.GetCache(CacheKey), Type)<br />
<br />
' is the type in the cache?<br />
If objType Is Nothing Then<br />
Try<br />
' use reflection to get the type of the class<br />
objType = Type.GetType(TypeName, True)<br />
' insert the type into the cache<br />
DataCache.SetCache(CacheKey, objType)<br />
Catch exc As Exception<br />
' could not load the type<br />
LogException(exc)<br />
End Try<br />
End If<br />
' dynamically create the object<br />
Return Activator.CreateInstance(objType) ' This line raises the error mentioned before<br />
End Function
Any help on this error will be much appreciated!
Best regards rob_pro@hotmail.com
|
|
|
|
|
Actually i somewhat tried to make the SqlDataProvider class (SqlDataprovider.vb) abstract (MushInherit) which i discovered later.
Of course i cannot create an abstract class of SqlDataProvider with Reflection. I guess i was tired when i was coding!
Thanks for answering very fast!
|
|
|
|
|
I am trying to test a text box for either numbers or a null entry. I have tried using [0-9]|[:blank:]|[:space:] but it will not work. Any help would be appreciated.
|
|
|
|