473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Web Browser Secuirty

In the MS report viewer example
"Microsoft.Samples.ReportingServices.RSExplore r" they use the system default
credentials to get the list of reports on the report server. The example
them opens a WebBrowser to display the reports which prompts the user for a
user name and password in certain cases.

Logically if both the WebBrowser and the Report Explorer are using the same
URL to access the data and the default credentials work on one it should
work on the other.

So the question is how to you tell the WebBrowser to use the default
credentials?

Regards,
John
Jun 7 '06 #1
2 2892
I supposed you set it in IIS Server.

chanmm

"John J. Hughes II" <no@invalid.com> wrote in message
news:On**************@TK2MSFTNGP04.phx.gbl...
In the MS report viewer example
"Microsoft.Samples.ReportingServices.RSExplore r" they use the system
default credentials to get the list of reports on the report server. The
example them opens a WebBrowser to display the reports which prompts the
user for a user name and password in certain cases.

Logically if both the WebBrowser and the Report Explorer are using the
same URL to access the data and the default credentials work on one it
should work on the other.

So the question is how to you tell the WebBrowser to use the default
credentials?

Regards,
John

Jun 7 '06 #2
Thanks for the repose but no, when opening the reports on the report server
you use an address like http://localhost/reportserver which uses the local
default credentials. If you open the report server on a local LAN like
http://server/reportserver normally the system will use the local
credentials. But if you open the site on a remote server using
http://www.name.com/reportserver then the WebBrowser prompts the user for a
user name and password for the remote site. Since I am able to obtain the
local credentials when accessing the remote host via other methods I was
asking if there was a way of setting the credentials in the WebBrowser when
I set the URL.

Setting the URL is done "webBrowser1.Url = new Uri(<address>);".

I was looking for something along the lines of "webBrowser1.Credentials =
System.Net.CredentialCache.DefaultCredentials;" but am unable to find it.

Regards,
John
"chanmm" <ch*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
I supposed you set it in IIS Server.

chanmm

"John J. Hughes II" <no@invalid.com> wrote in message
news:On**************@TK2MSFTNGP04.phx.gbl...
In the MS report viewer example
"Microsoft.Samples.ReportingServices.RSExplore r" they use the system
default credentials to get the list of reports on the report server.
The example them opens a WebBrowser to display the reports which prompts
the user for a user name and password in certain cases.

Logically if both the WebBrowser and the Report Explorer are using the
same URL to access the data and the default credentials work on one it
should work on the other.

So the question is how to you tell the WebBrowser to use the default
credentials?

Regards,
John


Jun 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Szar | last post by:
JS noob. I've seen plenty of browser detection scripts but they all seem to be slightly different and don't really fit my needs. I have various places where if the browser is IE I'd like to display...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
2
by: Craig G | last post by:
is there a way to distinguish whether a client is using IE or Netscape? is there some sorta check i can run on the Page_Load event? or where would be the best place to do this? Cheers, Craig
1
by: Dave Harrington | last post by:
Greetings all - We have a client who uses Lotus Notes as their default e-mail. The version of Lotus they use can run internet explorer windows within Lotus. I'd like to find if they are...
4
by: Peter Larsen | last post by:
Hi, I want to be able to show a file browser embedded on a form - a browser which is similar to the browser you get by SHBrowseForFolder(). Is that possible ? Thank you in advance. BR Peter...
5
by: Mufasa | last post by:
We want to keep track of what OS/Browser people are using for our website. How can I find that out so that I can write it to a DB ? I know how to get it into the DB; I just need to know how to get...
0
by: jobs | last post by:
Using the delivered login controls, I see there is something for passwordrecovery. But I can't seem to find how to set properties so it does not ask me for my security question. Is there any way...
3
by: vibee | last post by:
i have access 2007 and everytime i load my database i get a secuirty warning near the top saying security warning certain content in the database has been disabled which stops my database from...
2
by: KIRK2359 | last post by:
Our computers on LAN, as is the data base. I have made a data base. I tryed setting secuirty. it effected no one but me! Now I can not print. report or anything. Can I set my system back to...
0
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,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.