|
In Sql Server 2000/2005, I have a few NT user groups that need to be granted access to hundreds of stored procedures.
Is there a nice easy way to do that?
Started by TonyOssa on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Here's a script that I use for granting permissions to lots of procedures:
DECLARE @DB sysname ; set @DB = DB_NAME... .
Add those NT user groups to that role.
Write a script that grants that role permission to use those sprocs .
Create a role in sql server.
|
|
Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be doing to block this. I notice that many come from the...
Started by MattMcKnight on
, 15 posts
by 15 people.
Answer Snippets (Read the full thread at serverfault):
I'd have to see your entire iptables configuration....
You can use iptables to rate-limit new incoming connections to the SSH port .
You may want to look at denyhosts as well.
Fail2ban can help with this by blocking IP addresses with too many failed log in attempts .
|
|
A client has given me a spreadsheet of hundreds of domain names.
My task is to determine the following about each:
Which domains are connected to a web server / website. Of those that are, which redirect to another site. What is the server software running...
Started by frankadelic on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Even if you run something that queries the server directly, you can't reliably tell what server software it's using... .
The one sticky point is what server software the site uses .
Most of your requirements can be handled via the System.Net.WebClient class .
|
Ask your Facebook Friends
|
I'm currently evaluating Drools Flow as a workflow engine for executing up to hundreds of thousands of process instances per day. Has anyone published any scalability benchmarks for this technology? In the absence of published results does anyone have...
Started by Matthew Murdoch on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If it struggles, then you'll need native code, we have an experimental native flow compiler - but I'd be very surprised if it is ... .
Just appear an official post about this here
Drools Flow is about as fast as they come, it's very small and lightweight .
|
|
What do you think are the best practices to maintain dozens (if not hundreds) of debian servers up-to-date ? Keeping in mind that :
There are groups of servers (i.e identical webservers, DB Servers, ...) There can be several Debian issues (lenny, etch...
Started by Falken on
, 11 posts
by 10 people.
Answer Snippets (Read the full thread at serverfault):
In the way of pull-based configuration systems.
Tried to scale it up to hundreds of hosts though.
|
|
In C++, whenever a function creates many (hundreds or thousands of) values, I used to have the caller pass an array that my function then fills with the output values:
void computeValues(int input, std::vector<int>& output);
So, the function will...
Answer Snippets (Read the full thread at stackoverflow):
Was sub-standard.)
Response to Edit: Well, if you need to return hundreds and thousands if values(new std::vector<int>); r->push_back(...) // Hundreds of these return r; }
No copying.
|
|
I just enabled error reporting and wow what a shocker I have probably thousands if not hundreds of notices like this
Notice: Undefined index: action in C:\webserver\htdocs\header.inc.php on line 18
I understand that they are because I am calling a variable...
Started by jasondavis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
E.g,
if ((!empty($_GET['p'] && $_GET['p'] == "account.edit.topfriends") || (!empty($_GET['action'] && $_GET['action'] == "newmember")) { //some more code here }
I usually like to use ternary statements... .
Check array elements first using isset() or empty().
|
|
I'm trying to implement a mailing list system for my application. I'm currently using Zend_Mail_Transport_Smtp('localhost') as my transport, looping through my list of subscribers, and sending a new Zend_Mail to each one. However, I am noticing that the...
Started by Andrew on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm too lazy to change my.
When I double checked, I noticed it actually said hundreds to thousands.
NOTE: when I first read your question, I thought it said hundreds of thousand emails at once.
Messages.
|
|
I am accessing a httpwebrequest that returns a pdf file as the response. I am reading that response into a memory stream, and later on converting to a file. The problem is, is that hundreds of files are being created. Not sure why, I've tried many ways...
Started by mickyjtwin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The code snippets you are showing seem reasonable, but do not really show enough of the code to explain the problem - you are not... .
Check your webserver access log file.
I would suggest that you are receiving more requests from your client than you think .
|
|
I have to create a form capable of displaying a cinema-hall (don't know the exact word) schema. Essentially I have to display a large number (given by another source) of independent chair-like images which can change color (status) on click.
I surf the...
Started by Abaco on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Do not try to create hundreds.
There are hundreds online for examples of how to create custom-painted controls in .NET.
Update the bitmap to reflect user changes.
And use that to refresh the screen.
|