NotePage, Inc. Forum Index

Search found 6 matches
NotePage, Inc. Forum Index
Author Message
  Topic: Web interface Mod, User authentication
Isaiah

Replies: 8
Views: 27428

PostForum: PageGate Support   Posted: Thu Jun 21, 2007 12:47 pm   Subject: TOPIC RESOLVED!!!
Thanks so much Jeff for that, that fixed us up and we are rockin'

Also thanks to everyone else here on NotePage who helped work with me.

-Isaiah
  Topic: Web interface Mod, User authentication
Isaiah

Replies: 8
Views: 27428

PostForum: PageGate Support   Posted: Mon May 07, 2007 2:15 pm   Subject: Web interface Mod, User authentication
As much as I thought that would work, it didn't. I called it on the OnSubmit with no luck, and then under <BODY> in an OnLoad call, to see what it was doing, and it doesn't seem to make any change. I am not sure but I am curious about Javascript running in ASP, is there an issue with that? If so, I am not sure of what to do, besides writing a CGI to pull the values into a dB of sorts, and then strip the domain in there, before returning the page for submission.
  Topic: Web interface Mod, User authentication
Isaiah

Replies: 8
Views: 27428

PostForum: PageGate Support   Posted: Mon May 07, 2007 9:59 am   Subject: Web interface Mod, User authentication
Anybody have any new ideas on how I should modify the "DoCheckSender" function? I am still at a loss, and my boss wants this to go online ASAP...
  Topic: Web interface Mod, User authentication
Isaiah

Replies: 8
Views: 27428

PostForum: PageGate Support   Posted: Tue Apr 24, 2007 7:28 am   Subject: Web interface Mod, User authentication
Yes but I have modified it, with no luck. Which portion am I to change?
function DoCheckSender () {
// strip out spaces in FRM field

var i;
var sender = "";

for (i = 0; i < (document.MYFORM.FRM.value.length); i++) {
if (document.MYFORM.FRM.value.charAt(i) == " ") {
sender = sender + "_";
}
else {
sender = sender + document.MYFORM.FRM.value.charAt(i);
}
}
document.MYFORM.FRM.value = sender;
}

// -->

I have tried the 2nd line as:


var sender = "/DOMAIN";

Which didn't work, and I also tried:

if (document.MYFORM.FRM.value.charAt(i) == "/DOMAIN") {

Which also didn't work. Of course, I called the DoCheckSender at the onSubmit of the form, but still had no luck. I guess I am just unsure about how the checksender function works, but I thought it would have been one of those 2 places.

Thanks for your assistance...
  Topic: Web interface Mod, User authentication
Isaiah

Replies: 8
Views: 27428

PostForum: PageGate Support   Posted: Mon Apr 23, 2007 10:36 am   Subject: Web interface Mod, User authentication
Ok, I have tried everything I can think of. Both Javascript and VBscript with many different methods, and nothing seems to work. I know you guys are more focused on your software, and not the web programming. But I still need this accomplished, and I figured you guys know more about the entire package. I even thought if the Webgate.EXE could be modifed to strip certain things. Matter of fact, it would be nice to have a config utility that modifies what Webgate.exe accepts/sends. I know that is more in your programming level, and this may be the route we need to go. I just need to do something... Help Please :( [/code]
  Topic: Web interface Mod, User authentication
Isaiah

Replies: 8
Views: 27428

PostForum: PageGate Support   Posted: Wed Apr 18, 2007 7:55 am   Subject: Web interface Mod, User authentication
Ok, I have just recieved the PageGate software within the last week, and am familiarizing myself to it. We have managed to get most everything setup the way we want, but are still missing something...

We are on a secure domain, and I have setup IIS to authenticate users from our domain and log them...

Under the IIS settings for my site, the "Directory Security" tab, the "Edit" button. Then un-check "anonymous access" and check "basic auth" and put in my domain name. Also checking "Integrated Windows Auth" so that the users don't have to type in login credentials. I also enabled the NCSA logging, because the W3C for some reason was logging my times as being 6 hours off. No big deal, the NCSA gives me what I need. The users are authenticated just fine, and the logs show all activity.

Now here's where it gets hard...

On the guilist.htm template (or most templates for that matter), there is a FROM field. Our facility feels that this is insecure, and doesn't want anyone to be able to put in ANY name as a from, and possibly page important people with derogatory messages. So in order to aleviate this, I have changed the template to a .ASP file, and managed to resolve that also.

The entire FROM portion of the form can be modified to say this:
<CENTER>FROM <INPUT SIZE=40 MAXLENGTH=80 READONLY="READONLY" CLASS="READONLYSTYLE" NAME="FRM" VALUE="<%= Request.ServerVariables("REMOTE_USER") %>"></TEXTAREA></CENTER>

The READONLY attribute, and class of course are so the user cannot change the values, and I added a VALUE= where the ASP code <%= Request.ServerVariables("REMOTE_USER") %>requests the remote user's account info. This can be used to pull many details from both the server, and the client side.

My issue then becomes. Any value pulled as the remote user also includes our domain name (i.e. "DOMAIN\USERNAME"). We don't mind that it says that on ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


Powered by phpBB © 2001, 2002 phpBB Group
Theme created by Vjacheslav Trushkin