As a part of security policy we need to disable CDROM access for normal users. Only root users should have the access. We are mainly using Ubuntu Linux.
I'm publishing an open-source library on CodePlex, and want the dll files to have strong names so that they can be added to GAC.
What's the best option for signing?
Should I use SNK? If so, everyone have access to the key. I don't have a problem with everyone having access, but is it a good approach?
Should I use PFX? If so, does it mean that other people downloading the source code are not able to build the solution?
What I like to do is that I am the only one person to have access to the key, so that the signed assemblies also have a level of authenticity, but meanwhile don't prevent other developers to download, build, or change the source code for themselves, and be able to post changes for the main project.
In oVirt (Red Hat Enterprise Virtualization) you can create a Virtual Machines Pool to allow your users to retrieve virtual machines from this pool.
I found how a user, in the RHEV User Portal, can request a Virtual Machine from the pool, this is explained here:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Evaluation_Guide/Evaluation_Guide-Allocate_VM.html
The thing is that i will need to retrieve virtual machines from the pool with the REST API and, after reading the documentation (https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html-single/REST_API_Guide/index.html) I cant found the way to do this.
Good day!
I've a legacy application where data access layer consists of classes where queries are done using SqlConnection/SqlCommand and results are passed to upper layers wrapped in untyped DataSets/DataTable.
Now I'm working on integrating this application into newer one where written in ASP.NET MVC 2 where LINQ2SQL is used for data access. I don't want to rewrite fancy logic of generating complex queries that are passed to SqlConnection/SqlCommand in LINQ2SQL (and don't have permission to do this), but I'd like to have result of these queries as strong-typed objects collection instead of untyped DataSets/DataTable.
The basic idea is to wrap old data access code in a nice-looking from ASP.NET MVC "Model".
What is the fast\easy way of doing this?
I would like to make an app that will download videos files that can be played later. At first i thought I could have a UIWeb view and then try to access the cache of it and get the file that way but unfortunately i don't have access to that.
After trying that my next thought would be get the direct link to the video file. Essentially what download helper does on fire fox. Any idea of where i could look at for help or any body have any better idea?
Is there any stringByEvaluatingjavascript that might be of use or is there away to access the cache on a webview in your own app?
Thanks for any help!
I use Windows 7 and I saved my login to a server in the network. But meanwhile my password has changed. When I now try to access that server then Windows Explorer automatically uses the old user and password, so I get an "Access denied" popup. And my account is blocked after 3 failed login attempts.
How can I delete or change the saved password?
I am behind a proxy which requires users to login during the first connection with a username and password with a HTML form. Thus, it is not handled with usual http://username:[email protected] and any attempt to access the internet from this setting falls into the login form.
How could I automatically login to the proxy? In linux, what manages proxy stuffs when a command tries to access the internet?
Thank you.
Hi,
I am new in asp.net, My requirement is how to install Exchange server 2003 service pack2 in system to use the microsoft office outlook web access.
Downloaded Things are:
1.E3SP2ENG.exe
2.Microsoft outlook web access administator tool.
Can any body say what are the procedures i need to do from here.
Help me urgently.
Thanks in Advance..
Regards,
s.venkatesh.
I have used Entourage to access a POP mailbox where it would delete messages once they had been received, and would now like to use Mail(.app) to read my mail using IMAP. Is it possible to place the messages that Entourage removed from the server back so that Mail can access them?
I can access my corp AD with SysInternals' "AdExplorer" with no problems. however, when I try to use generic LDAP browser (ldp.exe in my example) to access the same AD directory I can't get the required protocol/auth method. I think I have tried them all.
what protocol/settings does AdExplorer use by default?
I'm setting up multisite on localhost in subdirectories.
The problem is that when I'm trying to access the dashboard of a site I just created ( localhost/wptest/site/wp-admin ) I get "This webpage has a redirect loop" and when I try to access the actual website ( localhost/wptest/site ) the page loads but without assets, such as css.
When I access the network dashboard, or the primary site dashboard on localhost/wptest everything is just fine. Also when I edit the permalink of the second site in the network dashboard, to be like this: localhost/site it also runs fine.
How to make it work with the default permalink structure localhost/wptest/site?
The wordpress files are in
/usr/share/html/wptest
The wp-config.php is as follows:
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'localhost');
define('PATH_CURRENT_SITE', '/wptest/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
And the server block / virtual host is like this:
server {
##DM - uncomment following line for domain mapping
listen 80 default_server;
#server_name example.com *.example.com ;
##DM - uncomment following line for domain mapping
#server_name_in_redirect off;
access_log /var/log/nginx/example.com.access.log;
error_log /var/log/nginx/example.com.error.log;
root /usr/share/nginx/html/wptest;
index index.html index.htm index.php;
if (!-e $request_filename) {
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
rewrite ^(/[^/]+)?(/wp-.*) $2 last;
rewrite ^(/[^/]+)?(/.*\.php) $2 last;
}
location / {
try_files $uri $uri/ /index.php?$args ;
}
location ~ \.php$ {
try_files $uri /index.php;
include fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
access_log off; log_not_found off; expires max;
}
location = /robots.txt { access_log off; log_not_found off; }
location ~ /\. { deny all; access_log off; log_not_found off; }
}
And finally here's an error log:
2013/06/29 08:05:37 [error] 4056#0: *52 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 127.0.0.1, server: example.com, request: "GET /nginx HTTP/1.1", host: "localhost"
Is there a way to set windows 2008 file and folder sharing permission so you only get prompted for a password on certain shares?
That is, right now, when I got to \theserver\ I get prompted for a password despite having some shared folders that permit anonymous access.
Is there a way, asides from setting the policy sharing model to guest rather than Classic to allow a user from a non-domain pc to go to \theserver\ and see the shares and permit him or her to enter a folder with anonymous access without having to enter a username or password?
with in do transaction, i defined a label and in this label i am accessing a table with exclusive-lock.and at the end of label i have done all the changes in that table. bt now i am with in transaction block.
Now, i tried to access that same table in another session.then it show an error, Table used by another user. So is it possible that, can we release teh table with in transaction,so another user can access it.
Exe
Session1)
DO TRANSACTION:
loopb:
repeat:
--
--------------------- control is here right now.
end. /repeat/
--
end /do transaction/
Session2)
I tried to access same table,bt it show an error,that table locked by another user.
with in do transaction, i defined a label and in this label i am accessing a table with exclusive-lock.and at the end of label i have done all the changes in that table. bt now i am with in transaction block.
Now, i tried to access that same table in another session.then it show an error, Table used by another user. So is it possible that, can we release teh table with in transaction,so another user can access it.
Exe
Session1)
DO TRANSACTION:
loopb:
repeat:
--
--------------------- control is here right now.
end. /repeat/
--
end /do transaction/
Session2)
I tried to access same table,bt it show an error,that table locked by another user.
Please help, I don't have any idea on how to host a webpage on a home network.
Its just in a home network with 3-4 computers connected with a hub. And I've already installed wampserver on the computer that will host the pages. Im using windows 7 ultimate(the 2 computers)
Please help, I don't have any idea on how to host a webpage on a home network.
Its just in a home network with 3-4 computers connected with a hub. And I've already installed wampserver on the computer that will host the pages. Im using windows 7 ultimate(the 2 computers)
I have been a Windows XP user for the last few years, but I recently bought a 15'' MacBook Pro for research purposes. I would like to set up a no-hassle Mac/PC Network at home so that I can access the internet on both computers and hardware between computers (i.e. a harddrive, or a mouse/keyboard with Synergy).
Unfortunately, I live in a dorm with silly network restrictions so a solution is not straightforward. In particular:
The dorm has a wired and wireless network, both which provide an internet connection.
The wired network provides way faster internet (download speeds of 15 MB/s vs. 2 MB/s on wireless), so I would like to somehow exploit this, at least on my PC for Bittorrent :)
Multiple devices can connect to the wireless network, but cannot "see" each other on the network (so software like Synergy would not work).
Only 1 MAC address can connect to the wired network at a time.
Ideally I would just connect a wireless router to the wired network and then have both the Mac and the PC on that, but the 1 MAC address restriction will not allow the both computer to access the internet simultaneously. I cannot think of a way to bypass this restriction (though I'm not network savvy), so I am planning to create a private no-internet network to allow the devices to see each other and share hardware.
Here are some thoughts. I would appreciate any feedback at all!
If I build a private wireless network: (first choice)
I will use a wireless router that is not connected to the internet. My PC and Mac will be connected to each other wirelessly. I can then connect the PC to the internet via a wired network, but then the Mac will not have internet access as its wireless card is already in use. In this case, could I stream internet access from the PC to the Mac via the wireless network? Or could I buy a USB wireless card for the Mac so that it can connect to both my private network and the dorm network?
If I build a private wired network: (second choice)
Then both the PC and the Mac will connect to the internet wirelessly, which means I cannot take advantage of the faster download speeds.
I have a SqlBulkCopy operation that is taking data from an MS-Access 2007 database (via OleDbConnection) and using SqlBulkCopy to transfer that data to a SQL Server database. This has previously been working and continues to work for one MS-Access database, but not the other.
I get the error message:
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
It is hard to believe it is a timeout ast the oledbCommand.CommandTimeout = 0 the sqlBulkCopy.BulkCopyTimeout = 0 and on either side (MS-Access and SQL Server the timeouts have now been set to 0).
Are there other issues/exceptions that the above error message could be hiding? Is there a way to determine what the base cause of a sqlBulkCopy.WriteToServer exception is (there doesn't appear to be any inner exceptions etc...)
As a part of security policy we need to disable CDROM & USB access for normal users. Only root users should have the access. We are mainly using Ubuntu Linux.
I have a simple setup of a set of writers and a set of readers working with a MySQL ISAM table. The writers are only inserting rows while the readers are only checking for new rows.
OK, so I know that I don't need a lock in this situation, since I'm not modifying existing rows. However my Writers are accessing one more table that does need a lock. I piece of information seems irrelevant except for the following limitation stated in the MySQL documentation:
A session that requires locks must
acquire all the locks that it needs in
a single LOCK TABLES statement. While
the locks thus obtained are held, the
session can access only the locked
tables. For example, in the following
sequence of statements, an error
occurs for the attempt to access t2
because it was not locked in the LOCK
TABLES statement:
So to access the table I want to insert rows into, I NEED to lock it, which is causing me performance problems. Any suggestions of how to get around this?
Have a problem with master page views and models.
In the first image, I have a simple view in which I am trying to access the Model properties. None of the model properties are available at this time (this is the problem).
If I use a <%= Model.blah % then you can see that the model properties are available. Second photo.
In the last photo you will now see that I can access the Model properties that I was trying to access in the first photo.
An error will be thrown if viewing this page if you don't first do <%= with the model.
CS1061: 'object' does not contain a definition for 'User' and no extension method 'User' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
http://yfrog.com/8b43656447p
So why is this happening?
I have created a class say A which has some functions defined as protected.
Now Class B inherits A and class C inherits B. Class A has private default constructor and protected parameterized constructor.
I want Class B to be able to access all the protected functions defined in Class A but class C can have access on some of the functions only not all the functions and class C is inheriting class B.
How can I restrict access to some of the functions of Class A from Class C ?
Class A
{
private A(){}
protected A(int ){}
protected calc(){}
protected allow(){}
}
Class B : A
{} // calc() and allow() should be accessible here
CLass C:B
{
// calc() should not be accessible here but allow() should be accessible here.
}
What would be some of major use-cases in which you would want to assign multiple IP addresses to your NIC?
Knowing of any standard/well-known 'gotchas' associated with each use-case would also be helpful. For example, I heard someone saying that a user with access to such a machine will automatically get access to both networks, which could be a security issue.
You can assume a Linux-based environment.
I've a webpage with small image based jquery animated tutorial for kids. Size of the DIV displaying animation is 640x425. What would be the best tool to capture this animation as video? I want to upload this video on Youtube. Probably some tool which would allow me to select display area dimensions would be useful.