quinta-feira, 12 de março de 2009

Sun Certified Specialist for NetBeans IDE

nb-logo2

A Sun Mycrosystems criou a  Certificação Sun Certified Specialist NetBeans para programadores com vasta experiência utilizando o NetBeans IDE para desenvolver aplicações Java Desktop e Aplicações Web, esta nova certificação estabelece que você pode instalar e configurar o IDE em projetos complexos e utilizar as ferramentas de desenho da IDE, código, teste, depuração e Perfil aplicações.

O exame é baseado no NetBeans IDE 6.1. É composto de seis seções, 61 cenário baseado em perguntas feitas em Inglês, e duração de 75 minutos.

Para saber sobre o exame acesse a lista de tutoriais do Netbeans e para saber mais sobre outros Treinamentos em Netbeans acesse o link NetBeans Training and Certification Resources.

Até mais…… 

segunda-feira, 9 de março de 2009

Segurança - Aplicando o princípio de privilégio mínimo

A aplicação do princípio de privilégio mínimo significa que usuários só devem receber privilégios necessários para concluir a tarefa a qual lhe foi designada, isso reduz as chances em que eles consultem ou alterem de forma acidental ou mal-intencionada, dados o qual eles não devem ter privilégio de consulta ou alteração.

Algumas precauções quanto ao privilégios concedidos aos usuários:

  • proteger o dicionário de dados
  • revogar os privilégios desnecessários de PUBLIC, pois nem sempre todos os usuários tem acesso aos mesmos objetos
  • Restringir os diretórios que os usuários podem acessar, evitando o acesso a dados externos que não lhe foram concedidos.
  • limitar os usuários com privilégios administrativos.
  • restringir a autenticação remota do bando de dados

Essas foram algumas regrinhas básicas, ao conceder privilégios se atente a elas sempre permitindo acesso aos usuários somente ao que for necessários.

Nos próximos artigos, vamos detalhar cada uma dessas regras do príncipio de privilégio mínimo.

Até a próxima

Transcrição em Ingles da Entrevista do Steve Ballmer a repórter Ina Fried da CNET

Bom pessoal, recentemente postei o vídeo da entrevista do Steve Ballmer a repórter Ina Fried da CNET falando sobre as estratégias da Microsoft para se sobressair a crise, Windows 7 entre outros, neste post estou postando a transcrição da entrevista em ingles e também estarei postando a tradução da mesma, mas para quem quiser ir se adiantando……………

CNET News: Obviously, Microsoft didn't necessarily get everything it might have hoped for in terms of the critical response for Vista. What are you guys planning to do differently with Windows 7?

Ballmer: Well, I think we made some choices in Vista to improve security at the kind of expense, if you will, of compatibility. With Windows 7, we're able to build compatibly off of Vista and really sort of just tune, if you will, the user interface, the performance, and at the end of the day, it'll be what the users think of the product that we're building, and we'll start getting beta feedback this week.

Q: How hard are you pushing the team to get Windows 7 out this year?

Ballmer: I'm not pushing the team hard, the team is pushing itself. They set some goals and objectives and of course we'll ship the product when it's--as I said last night--both right and ready and when we know when that is, we'll share that.

Q: One of the biggest parts of the PC business that's really taken off amid an, obviously, challenging time overall is the Netbook segment. What has that meant for Microsoft both in terms of the technology, but also from a business standpoint? How does that impact you?

Ballmer: Well, we've done very well on Netbooks. When they first came out, I'm not sure if people knew whether they were PCs or something else, and I think everybody kind of understands now that a Netbook is a small-form-factor, low-cost personal computer. And we're doing very well with Windows XP, which fits. Vista does not fit, and we're working hard to make sure Windows 7 fits very well on the Netbooks.

You know, from a business perspective, low-cost machine means a little less revenue per unit to Microsoft, but I think it gives us an opportunity to see expansion of the overall PC market.

Q: Obviously, everything that you're talking about here at CES comes against the backdrop of a very challenging economy. What does that economy mean to Microsoft and its plans?

Ballmer: Well, I think there's two ways to take a look at it: First, what's going to happen to let's call it revenue in our industry? Revenue will be lower in aggregate in our industry than it would have been, and that will (affect) Microsoft, Cisco--you name the company--Intel. We'll all be affected by that.

With that said, the pace of innovation in our business will not change. The opportunity there won't change. And so the key is: how do we right-size a little bit as an industry, and that means different things to different companies to adjust to the fact that revenues will be lower. And yet at the same time, keep a strong push on the R&D that's going to power the future. And each company will discuss its plans. We're kind of in a quiet period, so I don't have much to say about that.

Q: Turning to search, that's obviously a key area for Microsoft. You announced a couple of partnership deals that will get you some more distribution, but clearly there aren't enough distribution deals out there to make the kind of headway you need to make against Google. What else does Microsoft need to really be a serious competitor to Google?

Ballmer: Just keep working. I mean, look, this is not something that changes overnight. Everybody wants us to snap our fingers. We have a good competitor, and yet at the same time, we see real opportunities to improve the search experience, to differentiate, but it's not going to happen overnight. We're going to have to keep working and working; innovating product-wise, marketing, branding, distribution, and we're going to have to be patient about it.

I like our new release. We're making two releases a year. We continue to attract great talent, which lets us do interesting things. Our cash-back program has some early promise in terms of what I call business model differentiation versus Google, but we'll continue to work.

Q:: Fair to say four years in, though, you would have hoped you'd made more progress in market share?

Ballmer: Maybe. Maybe. I'm not sure that would have been anything other than na?ve because the market leader is a strong company. And we're going to have to keep at it.

Q: You have said that while you're not interested in buying all of Yahoo, you would be open to some sort of a search deal. How likely do you think that is?

Ballmer: No way to handicap it. I think at this stage, it's probably fair to say I'm not even sure Yahoo would handicap it. They're out doing a search for a new CEO and we'll just have to wait and see how all that shakes out.

Q: You said a little while ago that there weren't any active discussions, is that still the case?

Ballmer: Yeah. I think probably fair for us not to comment too much.

Q: We've talked about Google, we've talked about the economy. Which actually occupies more of your time in terms of which do you spend your time worrying about?

Ballmer: Well in general, the answer is: Google, Google, Google, Google, Google. Now, the truth of the matter is, for a period of time of a couple of months, we do have to go through and say, OK, what do we really think this economic thing is, is it a year thing or is it a reset, and then we build from a new base, and how do we parse and act on the consequences?

So there's a little bubble period in here where I'd say I'm spending a little bit more time. But in general, I can't control the economy. We can drive and control and affect our competitive position, so the lion's share of my energy would be there.

Q: Microsoft, in the past, has been able to get through even some, you know, typical economic downturns by kind of trimming at the edges. Is it fair to say that whatever you have to do this time, it'll be more significant than anything you've had to do before?

Ballmer: It's premature to comment. I mean, the fact of the matter is, this is not a downturn, this is a bit of a reset. Those are quite different and we're trying to really suss through what we think that means for us.

Q: One of the biggest changes coming in the Office side of things is the fact that individuals and companies will soon be able to access Office over the Web. What doors does that open?

Ballmer: There's two aspects: One aspect is sort of the notion of can I get access to the software when I'm not at my own computer, and you'll get access to some stuff when you're not at your own computer. That's nice. People want the full capabilities, generally. The second thing is: do we provide better and better facilities for people to collaborate from within the productivity environment? And I think that's a bigger deal, and you'll see us do both of those--push both of those themes in the new Office release.

It's important to do, it enables some new scenarios, but I don't just say, "Oh, isn't it great, I can run Excel in a browser, or a subset of Excel in a browser." I'm not quite sure that that in and of itself is a breakthrough. Google and people want to run around, "Ooo. Ahh. Woo," you know--I don't quite understand that.

Q: It's been few months since Bill (Gates) switched from full-time work to working with the foundation. Any surprises in terms of what that's meant or what has it meant in terms of changes for Microsoft?

Ballmer: I don't think anything all that surprising. You know, I think we're trying to get settled now in a rhythm. Bill and I see each other, you know, we have a regularly scheduled lunch, there's board meetings, he has a regularly scheduled meeting with a couple of the internal groups. I think he's figuring out how he spends his time. But I don't think any real surprises.

Q: Is it a little weird to be giving the CES keynote? Obviously, you give a lot of big speeches.

Ballmer: Yeah, I mean, yeah, for some reason, it had that oeuvre, and yet like I say, last night I went back to my room and said, "That was actually a much easier speech to give than many others." I wonder why I was thinking that that would be a hard one to do.

Q: In terms of the economy and what that means, what are the kinds of things that are least impacted inside Microsoft and what are the kinds of things that do pretty well?

Ballmer: You mean what'll sell and what won't sell? I think PCs are going to sell a little less well, which means Windows will sell a little less well. I think servers--because capital spending will get hit, servers will sell a little less well, which has got to affect servers. Now, we still are taking share in the server business overall, so I don't know what that'll mean for our overall results. Phones, Web, those things ought to all be growth opportunities for us.

Q: Do you think this reset, as you called it, will force Microsoft to get out of some things that you've been doing?

Ballmer: I'd say at the macro level, the same things that we've been doing. At the micro level, I'm sure there will be some things where we have this many people and, you know, we might right size, or maybe we're expecting to go to this many people (moves his hands in to show a smaller level of growth)... I think that's more likely; to stay more flat on some of the projects. You know, there will be things that may not make as much sense. I don't know. We'll have to see how that all comes together.

Fonte CNET…….

Abraços Ricardo Correia

sábado, 7 de março de 2009

Steve Ballmer fala sobre o Windows 7, a economia e o Google

Em uma entrevista, o CEO da Microsoft Steve Ballmer fala a repórter da CNET News' Ina Fried que a desaceleração vai ter efeitos em toda a as áreas tecnológicas por causa da economia.

Fonte ZDNet……

quinta-feira, 5 de março de 2009

Fazendo backup e restaurando a MBR (Master Boot Record)

Para fazer um backup da MBR basta executar o comando abaixo no terminal:

# dd if=/dev/hda of=/home/usuario/mbr.backup bs=1k count=512

Após executar o comando acima será criado um arquivo com nome mbr.backup no diretório do usuário este caminho poderia ser qualquer outro.
Agora para restaurar a MBR basta executar o comando abaixo no terminal que a MBR será restaurada:

# dd if=/home/usuario/mbr.backup of=/dev/hda

Neste caso o conteudo do arquivo mbr.backup será gravado em /dev/hda.

Agora basta reiniciar a máquina que seu gerenciador de boot estará funcionando normalmente.

Obs: Vale lembrar que se a MBR da sua máquina foi corrompida, você deverá usar um CD, DVD ou mesmo um LiveCD de uma distribuição Linux para dar boot na máquina e conseguir ter acesso ao diretório /home/usuario/  ou o local onde se encontra o backup da sua MBR.

No caso do Grub você pode usar o CD, DVD da sua distribuição e reinstalar o gerenciador de boot quando estiver dando boot em modo rescue.

Para saber mais sobre o Grub leia o artigo GRUB em Domina Tudo..........

Desligando o PC-Speak (Beep) emitidos pela Bios no Linux

Acredito que todos ficam irritados com os beeps emitidos pela bios quando estamos usando o terminal no Linux quando usamos as teclas TAB e BACKSPACE, bom para eliminar esse problema melhor barulho basta apenas executar o comando abaixo, assim você ficara livre de barulhos indesejáveis e irritantes.

Modo Console:  # setterm -blengt 0

Modo Gráfico: # xset b off

Para que o comando fucione sempre, adicione o comando em .bashrc do diretório home do usuário corrente ou em /etc/bash.bashrc

Até a próxima e obrigado….

quarta-feira, 4 de março de 2009

Oracle - Segurança de Dados

Segurança nunca é demais e esse é o ponto forte do Oracle.

Um sistema seguro garante confiabilidade e integridade dos dados.

A segurança de informação envolve diversos fatores:

  • Restrição de acesso aos dados e serviços
  • Autenticação de usuários
  • Monitoração de atividades que podem comprometer o banco de dados

No entanto, para garantir e atingir todas as metas de segurança, o DBA deve estar ligado as melhores práticas e monitorar continuamente seu banco de dados.

Restringir acesso a dados e Serviços

Nem todos os usuários devem ter acesso a toda informação do sistema, isso varia de acordo com a regra de negócio, todo usuário deve ter o mínimo de privilégio possível limitando seu acesso somente aos objetos que se faz necessário para utilizar o sistema na função que ele exerce.

Autenticação de Usuários

Para garantir a confidencialidade dos dados, deve-se saber quem está tentando acessar os dados, a forma mais comum de autenticação de usuários é através da senha, mas não deve ser qualquer senha, a senha deve seguir uma regra que deverá ser definida pelo DBA. Agora um exemplo de autenticação mais segura é através do Token recentemente bastante utilizado pelas instituições financeiras para que seus cliente movimentem suas contas com mais segurança, mas também temos outras maneiras de autenticar usuários com bastante segurança através da impressão digital, íris, etc...

Deve-se também criar uma regra de autenticação bloqueando o usuário depois de um determinando número de tentativas sem sucesso de login, afim de prevenir mecanismos automáticos de identificação de senhas, sem contar também que usuário com um certo tempo de inatividade deve ter sua conta bloqueada.

Monitoração de atividades que podem comprometer o banco de dados

Mesmo usuários autenticados e com permissões, podem comprometer o bom andamento do sistema e a integridade dos dados. O DBA deve estar sempre alerta com atividades incomuns dos usuários, como consultas a grandes números de informações sigilosas sendo o primeiro passo para detectar o roubo de informações. Para um monitoramento preciso a Oracle fornece varias ferramentas de auditoria para controlar atividades de usuários e identificar suspeitas.

Nos próximos artigos sobre segurança de banco de dados, vamos detalhar cada fator que contribui para a segurança do banco apresentando exemplos práticos.

Até a próxima........