Authenticating Remote Wmi Call From An Asp Webpage
I am attempting to create a web-page that will check several servers and
verify that the local admin account has been renamed properly. I've written
a .vbs (command file) to do it - I have the necessary rights on each
server - and it works just fine (portion shown below)
My problem is converting it to an asp web page. When I try, I always get a
security failure. I've checked and the page is running under a domain id
with admin rights to the servers. I am assuming its something I just can't
find the answer to, about the way ASP handles security impersonation. Can
someone point me to where I need to look? Code:
View Replies
ADVERTISEMENT
I have a script in a network folder that copies a word document and saves it with a name passed to the script. I need to be able to call the script and pass it the file name from an intranet webpage. Does anyone know a way to do this?
View Replies
View Related
I've been playing with the idea of just how to use an ASP page to provide a
remote function call. In an ideal world this would be a web service but how
can you do it if restricted to ASP 3.0 ?
Idea 1 was to write an ASP page that accepted arguments using the classic
?X=1&Y=2 type of strings and have the page return an ADO disconnected record
set containing the results of the action. This is call very well, and works,
but you do have to allow the browser to create an ADODB.RecordSet in which
to place the results which goes against some security principles. Code:
View Replies
View Related
I really don't know what's happening now with my IIS, it's really annoying me, before, when I'm accesing my asp page, I got the "ActiveX component can't create object" error and that's pointing to the line of "Set objConn = Server.CreateObject("ADODB.Connection")".
And I think the registration of my components are fine. I already reinstall my MDAC 2.8 but still no luck, then I used the IIS lockdown tool and now I can run my asp pages. But there's another problem, when I used to process my first page to the second page...
It really takes a long time to process and nothing happens, and when i refreshed the page or close it....I got now this error msg "The remote procedure call failed and did not execute".
View Replies
View Related
That's what I get when I try and view "default.asp" on my server.
EVERY other page works except that and no, it's not the ASP code since it works fine on our web host (uplinkearth.com) as you can see here.
Why does it do that? The service is stared in Services, along with the Locator...why shouldn't it work? It just started doing this not to long ago for no good reason (of course, we all know NOTHING happens for 'no good reason'). Any ideas?
If I type it in (http://frontier/) it doesn't load, so I 'Stop' it, then refresh and gives me that message...
I'm using Windows XP Pro with IIS 5...all service packs and updates installed along with mySQL.
View Replies
View Related
I am using a form. This has the action tag set to another page. But within this form I am using a button, which when clicked should take me to a different page.
View Replies
View Related
I have an intranet which all staff have access to. All staff can log in to the intranet to amend their own personal info. Currently staff have seperate passwords for logging on to their machines (ie ACL on network server) and logging on to the intranet.
Is it possible to have someone automatically logged in to the intranet based on their windows username and password for the domain?
Just wondering if anyone else has tried this. I think I saw this as an option in ASP.NET but my intranet is built using ASP.
View Replies
View Related
I need to authenticate users to enter in a NTLM-protected virtual directory,but I can't pop up a NT-login dialogue box - I can only do a web-based username/password form (my client is a "usability" firm!). After searchingand searching, I finally found up with this solution to use ADSI to authenticate users transparently:
http://www.eggheadcafe.com/articles/20010126.asp
I tried the script and I am able to authenticate that the user exists with the correct password, but when I redirect the user to the virtual directory,the popup box is still popping up! I think what is happening is that I am not actually passing the username/password to the NT server.
Is anybody familiar with using ADSI for NT log in's?Am I on the righttrack?And if so, how do I actually do this so that the NT login boxdoesn't pop up?
View Replies
View Related
Following code works fine, except that I have to hard-code the user's
fullpath (2nd parameter of the OpenDSObject() method). Code:
View Replies
View Related
I'm looking to distribute links to a site by mail, and then identify the users following those links. (ie. embedding user id in the url, and retrieving that data)
I think Dev sheds activate account feature does what I need, as does similar features of other sites, so I would think this is pretty standardized. Unfortunately, I can't figure out what I need to feed the search engines in order to elicit a tutorial....
View Replies
View Related
I want to do involves logging into a remote computer, in the form of computerc$ , and copying some files.
That computer has a fixed username/password that I can have embedded in the ASP (no big security risks). How can I do this in ASP? Or, is there any tutorial you know that explains how to do this.
View Replies
View Related
I'm creating an application using ASP and MSSQL server. I'm finding the task
of designing my output and forms to be rather tedious. Modifications require
a fair bit of work. Most of my code is being written in notepad - no
Interdev or DotNet tools.
Are there any applications (or even just some helpful tips) that help
provide report output and user interface design for the webpages?
View Replies
View Related
I'm using Visual Web Developer 2005 Express Edition. I created a simple asp.net project, no biggy. Moved the files over to the htdocs folder of Apache. Everything shows up great on an open directory setting online ( I do not have the Default.aspx file set as my starting page, it's simply an open directory ).
I installed mono, it installed fine. I don't know if there's anything I need to execute on mono as it seems like it's already running. Anyway, I goto my IP through my browser, click on Default.aspx, and instead of the ASP page, all that shows up is the html code behind it.I don't know where to begin on this
View Replies
View Related
I have taken over some code for a website and am trying to finish it. I
have noticed that when loading each page the site expands and then
shrinks to the normal size, i don't want this to occur. if you go to
http://preview.sgci.com/lutherwoodaes you will be able to see what i am
talking about. Any ideas or direction?
View Replies
View Related
how can i include a webpage from another server with ASP? (Without frames)
i tried XMLHTTP, but i loose the stylesheet, images src and relative links
of the included page.
View Replies
View Related
I'm looking for something (preferably free) that will allow me to have users
login using a username and password. I'd like to store the password
encrypted (if possible) in an access database and have a web based admin
utility and password reminder (e-mail sent to user) option in case a user
forgot their password.
I've seen packages selling for nearly $30, but for a non-profit organiztion,
every penny saved counts.
View Replies
View Related
I'm going to make a website that has some logic to it. It runs an algorithm on an excel spreadsheet. The excel spreadsheet is NOT on the server with the website though, but is on the users computer.
Right now I'm thinking of either using dotNetRemoting in some way or somehow make it into a webservice. With a webservice, maybe they can have an executable file of some sort which they double click and it calls my webservice. I'm learning about this as I go.
If I edit my webservice algorithm, will these propagate to the user? Do they need to compile something is what I'm asking.
View Replies
View Related
I have a requirement to fire up a PDF brochure for visitors. This is currently done by simply linking the pdf document direct using a javascript popup and hence acrobat is invoked when the link is clicked.
I now have a requirement to trap and record in my database the fact that the brochure was viewed and I can't get my head around how I can do both without getting the user to click 2 links (one to fire up the page with the ASP database call in it and a PDF link on it, and the other to click the PDF).
I have a feeling I could do something clever with host headers, but before I go too far down that deep and murky path I wonder if there is some simpler way I'm overlooking.
Current Code :
View Replies
View Related
Does anyone know an out of the boxproduct or some scripting for customer registration after aprovment they should have to create online one page with some advertizing (picture) and explanation about there small businness. There page should be in a directorie with the name of there business.
View Replies
View Related
does anyone know if there is a way to save a webpage to file after the user presses a button?
View Replies
View Related
I have copied an ASP tutorial running on pocket IE.
1)
The ASP does not run on Pocket IE, comes-up with error:
No application associated with ..
2)
The script also appears in the webpage. Any ideas why?
View Replies
View Related
How do you make your webpage so that no matter what page they navigate to,it always says just the mainurl in the Address bar: http://www.whatever.com instead of http://www.whatever.com/page1.asp?
If I put a link on my webpage that says click here to print page. How can I get the print code to specifically print only the information between a specific <TD></TD> tags? See cause if I just let it print the whole page it is all messed up cause it is too big to print on one page.
View Replies
View Related
Has anyone implemented an encrypted ASP webpage? Any major pitfalls that one should be aware of?
View Replies
View Related
I am currently accessing information in an access database using ASP and displaying it on some WebPages (both the access database and the website are on a standalone machine). I have a problem that the website needs to be moved onto another standalone machine and the database is not on it.
However I plan to run ASP and HTML to create the WebPages and then make a copy of the WebPages and then move the copys across? This machine will not have the database but because it has already retrieved the information (from the first time using ASP) it does not need the database. Is this true?
View Replies
View Related
i want to open a new webpage with variable passing and appear in the frame (rightFrame). i set the Yes button as Submit Form, isi it true? or i should set it to None. Code:
<input name="Yes1" type="submit" id="Yes1" value="Yes" style="width:50px;" onclick="window.location='quotation_admin.asp?id='+<%=id%>,,target=rightFrame">
View Replies
View Related
I have created a webpage that allows a user to enter information in a box. The idea is that the user could click on the submit button under the box to send info. to another webpage for future access. However, I understand that I need ASP software for this to happen.
I have tried to download ASP from the net. However, my p.c. would not accept the download. Can someone please advise 1) How to create a simple interactive webpage that allows a user to input and submit a value which can be stored and viewed at a later time? 2) The easiest way to download the necessary software to a p.c.?
View Replies
View Related
Where could i get a webpage sender/ tell a friend script to integrate to my site?
View Replies
View Related
I want to write a simple ASP.NET page that displays outlook web acces in an iframe element and I want to construct the source attrbute of the iframe dynamically in the page_load event. Is there any way to reference an iframe element in the code behind page?
Can I do something like: this.frame.src
= "http://server/exchange/" ?
Are there other possibilities to display the content of OWA within an ASP page?
View Replies
View Related
I'm trying to open a webpage through an .exe file. But, dont know how to start.
View Replies
View Related
This is less of a programming thing but more of a web deployment. I've a site with ASP pages. I'm using a 3rd party graphic tool for charts.
Now my service provider won't let me register this ocx on their server. Is there a workaround? I've tried it by putting it in the same folder where my webpages lie but to no avail. B'cos that way DLLs generally overcome the problem of registration.
View Replies
View Related
I have a webpage with 2 frames :
-Index
-Main
I have in my 'Index' frame a link to logout. I can redirect the page within that same frame but not in the 'Main' frame.
This is my code :
<a href="logout.asp" STYLE="cursor=hand" >log out</a> {this is located in the Index frame}
This is logout.asp : Code:
View Replies
View Related
i have link on my page that transports a table full of values to excel using response.contentype . but i m not always sure that the record will be less than 65K. it may be more also. how do i handle that through Code.?
View Replies
View Related
I am working on a website for an intranet and need to know how I can authenticate by validating my user/password at ASP webpage against the winNT user/password. So not using a 2nd storage of passwords, but simply using the one set for login to the workstation/server.
I found one thread but it was PHP based. I did however notice some comment by alexgreg, so it makes me believe it IS possible. The thread taught me it is possible with PHP, but that it would be easier with ASP... so my question is how
Quote: Originally Posted by alexgreg You can't interface with the Windows password list via PHP, since it's a closed (but not overly secure) standard. The only way I ... the Linux machine, and then use the database for authentication. But this would be very complicated.
You could use PHP to call an ASP script on the NT server, using cURL (HTTP library for PHP) to send it the username/password and then get the HTTP response back and re-translate this into a true/false value. This would be a lot simpler than the above solution.
Very curious how to achieve this. I tried searching the web with google, but I ended up with loads of results, but I still haven't found what I need. The bold part above makes me believe it's not that hard to achieve, one just has to know how
Anyone who can help me out?
View Replies
View Related