intranet

check if image exists on intranet

℡╲_俬逩灬. 提交于 2019-12-11 05:21:35
问题 Im using the answer in this question Test to see if an image exists in C# to find out if images exists. However I am getting an exception with error: The remote server returned an error: (401) Unauthorized. The images are on our sharepoint intranet, so how can i test to see if the images do exists? Thanks 回答1: request.Credentials = new NetworkCredential(username, password); 来源: https://stackoverflow.com/questions/7978318/check-if-image-exists-on-intranet

Set up xampp server on office lan

放肆的年华 提交于 2019-12-10 15:39:56
问题 Im looking to set up a server using xampp within a small office. I will ofcourse secure xampp but in order to make my webapp available to the other 4 PCs on the network do i just create a virtual host? Is there a way to ensure that access to the webapp is only available on the lan? The current setup includes 4 pcs sharing an internet connection via a router. How can i set this up as a lan which i can provide access to my webapp? 回答1: Use an .htaccess file or set up permissions in the

MVC4 SimpleMemberhip Intranet webapp with Custom Roles

三世轮回 提交于 2019-12-10 12:14:21
问题 I am using SimpleMembership with WebMatrix. Since its an Intranet webapp, I am using the exisitng domain users in combination with custom roles and storing them in local webpages_ tables. I am trying to develop classes to manage the users & roles. Perhaps I am going about this the wrong way, but here is what I have and below where I am stuck. Setting this in global.asa WebSecurity.InitializeDatabaseConnection("SqlRoleManagerConnection", "webpages_Users", "UserID", "Username", false); Setting

Host Mercurial on my company's intranet?

江枫思渺然 提交于 2019-12-08 16:31:56
问题 Instead of using an external web-based Mercurial host, I want to set one up on my company's intranet. Is there a web-based tool for Mercurial that lets you have an interface like Bitbucket's but let's you host Mercurial locally? 回答1: Mercurial ships with hgwebdir.cgi, which can be configured to provide a basic interface for repository hosting. It's quite straightforward to setup with Apache. I use this on my OSX box at home; took about an hour - most of that was permissions related to

use printer via php

荒凉一梦 提交于 2019-12-08 05:36:35
问题 I have four computers and one printer in Intranet and I installed WAMP on one of Windows machines. Now I want to execute PHP script, from window machine browser (or via Ajax etc) to print data. I need to know will it be possible? if yes then how? 回答1: Use printer functions: <?php $printer = "\\\\hostname\\printername"); if($ph = printer_open($printer)) { $fh = file_get_contents('myfile.txt'); printer_set_option($ph, PRINTER_MODE, "RAW"); printer_write($ph, $content); printer_close($ph); }

Intranet - web to remote wcf CredentialCache.DefaultNetworkCredentials not working

别说谁变了你拦得住时间么 提交于 2019-12-08 02:25:36
问题 I have a ASP.NET MVC intranet application hosted in IIS that added WCF service reference the WCF resides in another computer and also expect windows authentication. In my web this code is working great: proxy = new MyProxyClient("configurationName", "remoteAddress"); proxy.ClientCredentials.Windows.ClientCredential.UserName = "myUserName"; proxy.ClientCredentials.Windows.ClientCredential.Password = "MyPassword"; proxy.SomeMethod(); //work great but if I want the credential not to be hardcoded

asp.net to tomcat

不羁的心 提交于 2019-12-07 12:29:00
问题 Anyone has any example/tutorial links to deploy asp.net to tomcat (intranet) using mono? The guide they gave isn't clear on how it should be done. Or are there any other ways to deploy asp.net to tomcat other than using mono? Thanks in advance! 回答1: Anyone has any example/tutorial links to deploy asp.net to tomcat (intranet) using mono? Since Tomcat is mainly intended for running Java based technology you should probably look into things like Grasshopper although I haven't seen anyone using

Windows authentication of Intranet ASP.NET website and reappearing windows login box

拟墨画扇 提交于 2019-12-07 06:44:59
问题 I'm trying to enable automatic Window authentication working on our ASP.NET Intranet. I've changed the Authentication on our IIS 7.5 server from Anonymous to Windows Authentication Enabled only, and changed the Web.config file for the website to: <authentication mode="Windows" /> <authorization> <deny users="?" /> </authorization> The Windows login box appears when accessing the website via IE 8, I enter valid credentials, but the login window keeps reappearing as if it does not accept my

Is it possible to open an excel file in its current location not download it

老子叫甜甜 提交于 2019-12-06 16:58:59
问题 I am writing a small web site for a company Intranet and have the following question that may be simple. Is it possible to open an Excel file from it's current location on the network instead of downloading it. So that any changes made are made to the actual file and not a downloaded version of it? Thanks Matt 回答1: Yes, it's possible, but then you would have to specify the address of the file in the local network, not as an HTTP address on the web server. The user would naturally need to have

How to automatically login to the site using system credentials?

ⅰ亾dé卋堺 提交于 2019-12-06 06:35:48
问题 I need to develop a web application for the Intranet users. I dont want them to enter the login credentials each time they visit the site. It should be automatically loaded from the System Username and Password. i.e If they have a valid system username and password they should be able to login to the application. I am using Java. How to fulfill this requirement? 回答1: What you are looking for is called Windows Integrated Authentication. To be able to implement it, your server needs to support