How to open IE with code? [closed] - automated-tests

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
In my test, I can automatically open IE with:
public void OpenIEtoAppURL()
{
System.Diagnostics.Process.Start("iexplore", "www.google.ca");
}
Will this work on other computers that may not have admin access? Will this method cause false alarms for a virus?
I'm not sure if this is the best way to open IE, any improvements are appreciated.
Note: the target users are people who aren't good with computers so I don't want to alarm them with authorization checks.
I'm trying to make some kind of executable so that they can just click on it and it will run a suite of automated tests for specific web applications on a weekly basis.

That will work, but it's the wrong way to do it.
Instead, you should open the URL itself:
Process.Start("https://google.com");
This will open the page in the user's default browser.
Note that the protocol is required.

What are you trying to accomplish? You mention people who are not good with computers but your tags are for testing. Do you have non-technical people running automated tests?
If you want IE ONLY, you could try ShDocVw.InternetExplorer.

Related

Possible vulnerability within my application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Apologies if this is in the wrong category. I'm currently developing and application in ASP, due to my inexperience with ASP I'm worried about vulnerabilities that a user can exploit.
My application is being coded from scratch, no templates used or defaults from Visual Studio, completely blank projects. The user is greeted with a login page where depending on there user access in active directory depends on which pages the user can access.
The exploit I'm worried about is if the user will be able to commit a directory traversal and access a page in which they're not allowed to access and change critical information.
I'm afraid my inexperience has caught up with me. Could someone explain to me how I could limit the access to the user or, If I'm over thinking the process, correct me? Constructive criticism is accepted.
Microsoft does try to help protect your application through their defaults, so if you're running in IIS, make sure the user the application pool is running under only has write access to the folders it needs to write into.
This is a very open-ended question and depends on many factors such as version of .net, server OS/IIS version, other handlers installed, etc. But a good start is to review the OWASP Top 10:
https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project#OWASP_Top_10_for_2013
Here's a list of some automated tools you can use for testing your implementation:
https://geekflare.com/online-scan-website-security-vulnerabilities/

how to detect website leaking data [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have recently built a website based on WordPress. I got a free theme from a source in Pakistan.
I have to use this theme because it perfectly serves my purpose. But I want to know that if this theme is quietly establishing a connection with another server and sending my data.
How can I detect that my website is internally sending some codes to the server of developer of theme? Also, I need to know what servers are being communicated with — like, if any image is getting loaded from their server, any code is imported from their server, or anything else is being fetched from their server to run.
Since you have the source code, then you can simply look what this theme does - basically theme should only be HTML and CSS (or mostly it). If there is too much suspicious PHP of Javascript I wouldn't use it.
If you want to see if it connects to some outside sources, run it in your controlled environment and use some network sniffing tool like Wireshark for example.
Generally speaking - if you don't trust the source where you got your theme and you are not good enough in programming to check for malicious code yourselves, don't use it!
I would recommend downloading some of themes provided directly by wordpress.org - those should be safe.

What kind of applications can be written with Qt + Enginio [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm totally confused about what kind of applications can I write If I learn how to use Enginio. This is what the Enginio site says:
With Enginio, you can create stunning Qt applications, add a scalable
and powerful Qt cloud backend as a service in no time and deploy in
minutes without ever bothering about backend servers or scalability
problems.
Can I think of Enginio as a remote QFile or is it much more bigger? Can someone name some samples written with Qt + Enginio.
It looks like this is a new service still in development, hence there isn't a tag for it, yet.
From the website, it looks like they provide you with some of the common things all applications need, and provide an interface for qt. You can basically create whatever you want.
Instead of providing only a remote file, they also let you store json objects, lowering some of the impedance between object and file.
Probably not too many examples with this new thing. Maybe you can ask them to provide more samples.

User upload content [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I wanted to crate an mobile app (using Flex) that let user upload some user generated content (eg. Text, Picture) to my website and also able to display/view it on the website as well.
I don’t much on the back end (web programming, website database, cloud).
What is the best way to do this or is there any ready build solution out there?
Thanks.
Look at httpService for your user upload and tie it to a back end web service using POST or GET parameters. Personally, I recommend PHP but any web capable service would work. Then, tie that service to store your images on your web server or in a database. Reverse the process to get it back out. Can this all be done in Flex? No. Can you tie it in with a web service easily? Yes. Good luck.

Is your issue tracker behind the firewall? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I'm thinking of making a web service that can file bugs on issue trackers through (mainly) xml-rpc. But I'd like to get a sense whether issue trackers nowadays tend to be available behind the firewall or on the internet...
The target for this web service would be companies that build websites.
So is your issue tracker (jira, bugzilla, trac etc) behind the firewall? (as opposed to being accessible on the internet)
Thanks!
At our shop, our bug tracker is accessible, because certain clients are allowed to file bugs. It really makes things easier, because the developer working on the ticket can directly solicit feedback from the client, rather than trying to get the project manager to get in touch and ask the right questions.
We had thought about doing something similar to what it sounds like you're thinking of, but never got around to implementing it.
Yes, ours is. We have it there partly for security and partly because there was no need to have it public to the world.
An issue tracker behind the firewall?! So it means you won't allow users outside to submit issues, and this is actually the only difference.
They could mail issues / bugs to someone inside, then ask the recipient to create that issue / bug.
BTW, the issue tracker of our company is behind the firewall, we really need to control every detail, as the users may not know what the problem is. We use firewall to ensure higher security and easier management.

Resources