Is it possible to embed credentials in rdl files

Posted on 2008-11-12
Last Modified: 2012-05-05
I have a question:

I have a little app that creates a rdl file and calls the RB 2.0 to render it.
I can have a sql server 2008 and a oracle 11 as possible datasource systems.

As I do not have RS installed, I like to run the rdls locally.
As we are targeting customers who do not own sql server, this is not subject to change.
Additionally, IMHO RS on SQLServer Express 2008 can not be used for oracle datasources.

When I run my report in an environment where "integrated security" is available, all is fine.
But: I can not assume that this is available at customer side: some have oracle and some have no integrated security
When I run my report in an environment without "integrated security" I am asked for credentials when I load such a rdl file.

So my problem is: how can I handle the credentials for the datasource.

I do not want that the user is asked for credentials every time the report is rendered.
I know that this may be a security risk, but it is no "knock out" criteria for me.

I played around with the rdl file but it ended that credentials must be given manually.

So I am searching for a way to enter them programmatically
- rebuild the rdl file so that the credentials are read from here
- transfer them as parameters to RB
- build custom code for the report to enter them at runtime
- anything else  is welcome

Best regards
Klaus Wiesel
Question by:weasel3773
    1 Comment
    LVL 31

    Accepted Solution

    been looking into this and i am afraid the answer seems to be no, sorry

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
    Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now